| Package | Description |
|---|---|
| com.helger.commons.scope.singleton |
| Modifier and Type | Method and Description |
|---|---|
static <T extends AbstractSessionSingleton> |
AbstractSessionSingleton.getSessionSingleton(Class<T> aClass)
Get the singleton object in the current session scope, using the passed
class.
|
static <T extends AbstractSessionSingleton> |
AbstractSessionSingleton.getSessionSingletonIfInstantiated(Class<T> aClass)
Get the singleton object if it is already instantiated inside the current
session scope or
null if it is not instantiated. |
| Modifier and Type | Method and Description |
|---|---|
static ICommonsList<AbstractSessionSingleton> |
AbstractSessionSingleton.getAllSessionSingletons()
Get all instantiated singleton objects registered in the current session
scope.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
AbstractSessionSingleton.isSessionSingletonInstantiated(Class<? extends AbstractSessionSingleton> aClass)
Check if a singleton is already instantiated inside the current session
scope
|
Copyright © 2014–2017 Philip Helger. All rights reserved.