Uses of Interface
com.helger.scope.IScope
-
Packages that use IScope Package Description com.helger.scope com.helger.scope.mgr com.helger.scope.singleton -
-
Uses of IScope in com.helger.scope
Subinterfaces of IScope in com.helger.scope Modifier and Type Interface Description interfaceIGlobalScopeInterface for a single global scope object.interfaceIRequestScopeInterface for a single request scope object.interfaceISessionScopeInterface for a single session scope object.Classes in com.helger.scope that implement IScope Modifier and Type Class Description classAbstractScopeAbstract scope implementation based on a Map containing the attribute values.classGlobalScopeBase implementation of theIGlobalScopeinterface.
Note: for synchronization issues, this class stores the attributes in a separate map.classRequestScopeDefault implementation for non-web request scopes.classSessionScopeDefault implementation of theISessionScopeinterfaceMethods in com.helger.scope with parameters of type IScope Modifier and Type Method Description default voidIScopeDestructionAware. onBeforeScopeDestruction(IScope aScopeToBeDestroyed)Called before the owning scope is destroyed.default voidIScopeDestructionAware. onScopeDestruction(IScope aScopeInDestruction)Called when the owning scope is destroyed.Method parameters in com.helger.scope with type arguments of type IScope Modifier and Type Method Description voidAbstractScope. runAtomic(Consumer<? super IScope> aConsumer)<T> TAbstractScope. runAtomic(Function<? super IScope,? extends T> aFunction)voidIScope. runAtomic(Consumer<? super IScope> aConsumer)Perform stuff as a single action.<T> TIScope. runAtomic(Function<? super IScope,? extends T> aFunction)Perform stuff as a single action. -
Uses of IScope in com.helger.scope.mgr
Methods in com.helger.scope.mgr that return IScope Modifier and Type Method Description IScopeEScope. getScope()IScopeEScope. getScope(boolean bCreateIfNotExisting)static IScopeEScope. getScope(EScope eScope, boolean bCreateIfNotExisting)Resolve the currently matching scope of the givenEScopevalue.Methods in com.helger.scope.mgr with parameters of type IScope Modifier and Type Method Description protected voidScopeSessionManager. onDestroy(IScope aScopeInDestruction) -
Uses of IScope in com.helger.scope.singleton
Methods in com.helger.scope.singleton with parameters of type IScope 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.static booleanAbstractSingleton. isSingletonInstantiated(IScope aScope, Class<? extends AbstractSingleton> aClass)Check if a singleton is already instantiated inside a scopeprotected voidAbstractSingleton. onAfterInstantiation(IScope aScope)Called after the singleton was instantiated.protected voidAbstractSingleton. onBeforeDestroy(IScope aScopeToBeDestroyed)Called before this singleton is destroyed.voidAbstractSingleton. onBeforeScopeDestruction(IScope aScopeToBeDestroyed)protected voidAbstractSingleton. onDestroy(IScope aScopeInDestruction)Called when this singleton is destroyed.voidAbstractSingleton. onScopeDestruction(IScope aScopeInDestruction)
-