| Package | Description |
|---|---|
| com.helger.commons.scope.mgr | |
| com.helger.commons.scope.singleton | |
| com.helger.commons.scope.singletons |
| Modifier and Type | Class and Description |
|---|---|
class |
ScopeSessionManager
Internal manager class for session scopes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractApplicationSingleton
This is the base class for singleton objects that reside in the application
scope.
|
class |
AbstractGlobalSingleton
This is the base class for singleton objects that reside in the global scope.
|
class |
AbstractRequestSingleton
This is the base class for singleton objects that reside in the request
scope.
|
class |
AbstractSessionApplicationSingleton
This is the base class for singleton objects that reside in the session
application non-web scope.
|
class |
AbstractSessionSingleton
This is the base class for singleton objects that reside in the session
non-web scope.
|
| 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 |
ScopedFileMonitorManager
A global scoped singleton encapsulating a
FileMonitorManager |
Copyright © 2014–2017 Philip Helger. All rights reserved.