Uses of Class
com.helger.scope.singleton.AbstractSingleton
-
Packages that use AbstractSingleton Package Description com.helger.scope.mgr com.helger.scope.singleton -
-
Uses of AbstractSingleton in com.helger.scope.mgr
Subclasses of AbstractSingleton in com.helger.scope.mgr Modifier and Type Class Description classScopeSessionManagerInternal manager class for session scopes.
This class is only non-final so that the WebScopeSessionManager can be used for web scopes! -
Uses of AbstractSingleton in com.helger.scope.singleton
Subclasses of AbstractSingleton in com.helger.scope.singleton Modifier and Type Class Description classAbstractGlobalSingletonThis is the base class for singleton objects that reside in the global scope.classAbstractRequestSingletonThis is the base class for singleton objects that reside in the request scope.classAbstractSessionSingletonThis is the base class for singleton objects that reside in the session non-web scope.Methods in com.helger.scope.singleton with type parameters of type AbstractSingleton Modifier and Type Method Description static <T extends AbstractSingleton>
com.helger.commons.collection.impl.ICommonsList<T>AbstractSingleton. getAllSingletons(IScope aScope, Class<T> aDesiredClass)Get all singleton objects registered in the respective sub-class of this class.static <T extends AbstractSingleton>
TAbstractSingleton. getSingleton(IScope aScope, Class<T> aClass)Get the singleton object in the passed scope, using the passed class.static <T extends AbstractSingleton>
TAbstractSingleton. getSingletonIfInstantiated(IScope aScope, Class<T> aClass)Get the singleton object if it is already instantiated inside a scope ornullif it is not instantiated.Method parameters in com.helger.scope.singleton with type arguments of type AbstractSingleton Modifier and Type Method Description static StringAbstractSingleton. getSingletonScopeKey(Class<? extends AbstractSingleton> aClass)Create the key which is used to reference the object within the scope.static booleanAbstractSingleton. isSingletonInstantiated(IScope aScope, Class<? extends AbstractSingleton> aClass)Check if a singleton is already instantiated inside a scope
-