| Package | Description |
|---|---|
| com.helger.commons.scopes | |
| com.helger.commons.scopes.mgr | |
| com.helger.commons.scopes.singleton | |
| com.helger.commons.scopes.singleton.tree |
| Modifier and Type | Method and Description |
|---|---|
static <T extends AbstractSingleton> |
AbstractSingleton.getAllSingletons(IScope aScope,
Class<T> aDesiredClass)
Get all singleton objects registered in the respective sub-class of this
class.
|
static <T extends AbstractSingleton> |
AbstractSingleton.getSingleton(IScope aScope,
Class<T> aClass)
Get the singleton object in the passed scope, using the passed class.
|
static <T extends AbstractSingleton> |
AbstractSingleton.getSingletonIfInstantiated(IScope aScope,
Class<T> aClass)
Get the singleton object if it is already instantiated inside a scope or
null if it is not instantiated. |
| Modifier and Type | Method and Description |
|---|---|
static String |
AbstractSingleton.getSingletonScopeKey(Class<? extends AbstractSingleton> aClass)
Create the key which is used to reference the object within the scope.
|
static boolean |
AbstractSingleton.isSingletonInstantiated(IScope aScope,
Class<? extends AbstractSingleton> aClass)
Check if a singleton is already instantiated inside a scope
|
| Modifier and Type | Class and Description |
|---|---|
class |
ScopeSessionManager
Internal manager class for session scopes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ApplicationSingleton
This is the base class for singleton objects that reside in the application
scope.
|
class |
GlobalSingleton
This is the base class for singleton objects that reside in the global scope.
|
class |
RequestSingleton
This is the base class for singleton objects that reside in the request
scope.
|
class |
SessionApplicationSingleton
This is the base class for singleton objects that reside in the session
application non-web scope.
|
class |
SessionSingleton
This is the base class for singleton objects that reside in the session
non-web scope.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ApplicationSingletonTreeWithUniqueID<KEYTYPE,VALUETYPE>
Represents a global singleton tree with a unique ID.
|
class |
GlobalSingletonTreeWithUniqueID<KEYTYPE,VALUETYPE>
Represents a global singleton tree with a unique ID.
|
class |
RequestSingletonTreeWithUniqueID<KEYTYPE,VALUETYPE>
Represents a global singleton tree with a unique ID.
|
class |
SessionApplicationSingletonTreeWithUniqueID<KEYTYPE,VALUETYPE>
Represents a global singleton tree with a unique ID.
|
class |
SessionSingletonTreeWithUniqueID<KEYTYPE,VALUETYPE>
Represents a global singleton tree with a unique ID.
|
Copyright © 2014–2015 Philip Helger. All rights reserved.