- getAllGlobalScopeSPIs() - Method in class com.helger.scope.spi.ScopeSPIManager
-
- getAllGlobalSingletons() - Static method in class com.helger.scope.singleton.AbstractGlobalSingleton
-
Get all instantiated singleton objects registered in the current global
scope.
- getAllRequestScopeSPIs() - Method in class com.helger.scope.spi.ScopeSPIManager
-
- getAllRequestSingletons() - Static method in class com.helger.scope.singleton.AbstractRequestSingleton
-
Get all instantiated singleton objects registered in the current request
scope.
- getAllScopeRenewalAwareAttributes() - Method in interface com.helger.scope.IScope
-
- getAllSessionScopes() - Method in class com.helger.scope.mgr.ScopeSessionManager
-
- getAllSessionScopeSPIs() - Method in class com.helger.scope.spi.ScopeSPIManager
-
- getAllSessionSingletons() - Static method in class com.helger.scope.singleton.AbstractSessionSingleton
-
Get all instantiated singleton objects registered in the current session
scope.
- getAllSingletons(IScope, Class<T>) - Static method in class com.helger.scope.singleton.AbstractSingleton
-
Get all singleton objects registered in the respective sub-class of this
class.
- getDebugStackTrace() - Static method in class com.helger.scope.ScopeHelper
-
- getDebugStackTrace() - Static method in class com.helger.scope.singleton.SingletonHelper
-
- getGlobalScope() - Static method in class com.helger.scope.mgr.ScopeManager
-
- getGlobalScopeOrNull() - Static method in class com.helger.scope.mgr.ScopeManager
-
- getGlobalSingleton(Class<T>) - Static method in class com.helger.scope.singleton.AbstractGlobalSingleton
-
Get the singleton object in the current global scope, using the passed
class.
- getGlobalSingletonIfInstantiated(Class<T>) - Static method in class com.helger.scope.singleton.AbstractGlobalSingleton
-
Get the singleton object if it is already instantiated inside the current
global scope or null if it is not instantiated.
- getID() - Method in class com.helger.scope.AbstractScope
-
- getID() - Method in interface com.helger.scope.IScope
-
Get the ID of this scope.
- getInstance() - Static method in class com.helger.scope.mgr.ScopeSessionManager
-
- getInstance() - Static method in class com.helger.scope.spi.ScopeSPIManager
-
- getRequestScope() - Method in class com.helger.scope.mgr.Scoped
-
- getRequestScope() - Static method in class com.helger.scope.mgr.ScopeManager
-
- getRequestScopeOrNull() - Static method in class com.helger.scope.mgr.ScopeManager
-
- getRequestSingleton(Class<T>) - Static method in class com.helger.scope.singleton.AbstractRequestSingleton
-
Get the singleton object in the current request scope, using the passed
class.
- getRequestSingletonIfInstantiated(Class<T>) - Static method in class com.helger.scope.singleton.AbstractRequestSingleton
-
Get the singleton object if it is already instantiated inside the current
request scope or null if it is not instantiated.
- getScope() - Method in enum com.helger.scope.mgr.EScope
-
- getScope(boolean) - Method in enum com.helger.scope.mgr.EScope
-
- getScope(EScope, boolean) - Static method in enum com.helger.scope.mgr.EScope
-
Resolve the currently matching scope of the given
EScope value.
- getSessionCount() - Method in class com.helger.scope.mgr.ScopeSessionManager
-
- getSessionID() - Method in interface com.helger.scope.IRequestScope
-
Shortcut for getSessionID(true)
- getSessionID(boolean) - Method in interface com.helger.scope.IRequestScope
-
- getSessionID(boolean) - Method in class com.helger.scope.RequestScope
-
- getSessionScope() - Static method in class com.helger.scope.mgr.ScopeManager
-
Get the current session scope, based on the current request scope.
- getSessionScope(boolean) - Static method in class com.helger.scope.mgr.ScopeManager
-
Get the current session scope, based on the current request scope.
- getSessionScope(boolean, Function<? super String, ? extends ISessionScope>) - Static method in class com.helger.scope.mgr.ScopeManager
-
- getSessionScopeOfID(String) - Method in class com.helger.scope.mgr.ScopeSessionManager
-
Get the session scope with the specified ID.
- getSessionSingleton(Class<T>) - Static method in class com.helger.scope.singleton.AbstractSessionSingleton
-
Get the singleton object in the current session scope, using the passed
class.
- getSessionSingletonIfInstantiated(Class<T>) - Static method in class com.helger.scope.singleton.AbstractSessionSingleton
-
Get the singleton object if it is already instantiated inside the current
session scope or null if it is not instantiated.
- getSingleton(IScope, Class<T>) - Static method in class com.helger.scope.singleton.AbstractSingleton
-
Get the singleton object in the passed scope, using the passed class.
- getSingletonIfInstantiated(IScope, Class<T>) - Static method in class com.helger.scope.singleton.AbstractSingleton
-
Get the singleton object if it is already instantiated inside a scope or
null if it is not instantiated.
- getSingletonScopeKey(Class<? extends AbstractSingleton>) - Static method in class com.helger.scope.singleton.AbstractSingleton
-
Create the key which is used to reference the object within the scope.
- GlobalScope - Class in com.helger.scope
-
- GlobalScope(String) - Constructor for class com.helger.scope.GlobalScope
-
- IGlobalScope - Interface in com.helger.scope
-
Interface for a single global scope object.
- IGlobalScopeSPI - Interface in com.helger.scope.spi
-
SPI for handling the global scope lifecycle.
- initScope() - Method in class com.helger.scope.GlobalScope
-
- initScope() - Method in interface com.helger.scope.IScope
-
Init the scope.
- initScope() - Method in class com.helger.scope.RequestScope
-
- initScope() - Method in class com.helger.scope.SessionScope
-
- internalClearRequestScope() - Static method in class com.helger.scope.mgr.ScopeManager
-
Internal method to clear request scope thread local.
- internalSetAndInitRequestScope(IRequestScope) - Static method in class com.helger.scope.mgr.ScopeManager
-
This method is only to be called by this class and the web scope manager!
- IRequestScope - Interface in com.helger.scope
-
Interface for a single request scope object.
- IRequestScopeSPI - Interface in com.helger.scope.spi
-
SPI for handling the request scope lifecycle.
- IScope - Interface in com.helger.scope
-
This interface is used for all the common stuff of a scope.
- IScopeDestructionAware - Interface in com.helger.scope
-
A listener interfaces that is invoked before a scope is destroyed.
- IScopeRenewalAware - Interface in com.helger.scope
-
This is a marker interface for all objects that should survive a session
renewal.
- isDebugConsistency() - Static method in class com.helger.scope.singleton.SingletonHelper
-
- isDebugGlobalScopeEnabled() - Static method in class com.helger.scope.ScopeHelper
-
- isDebugRequestScopeEnabled() - Static method in class com.helger.scope.ScopeHelper
-
- isDebugSessionScopeEnabled() - Static method in class com.helger.scope.ScopeHelper
-
- isDebugWithStackTrace() - Static method in class com.helger.scope.ScopeHelper
-
- isDebugWithStackTrace() - Static method in class com.helger.scope.singleton.SingletonHelper
-
- isDestroyAllSessionsOnScopeEnd() - Method in class com.helger.scope.mgr.ScopeSessionManager
-
- isDestroyed() - Method in class com.helger.scope.AbstractScope
-
- isDestroyed() - Method in interface com.helger.scope.IScope
-
- isDestroyed() - Method in class com.helger.scope.singleton.AbstractSingleton
-
- isEndAllSessionsOnScopeEnd() - Method in class com.helger.scope.mgr.ScopeSessionManager
-
- ISessionScope - Interface in com.helger.scope
-
Interface for a single session scope object.
- ISessionScopeSPI - Interface in com.helger.scope.spi
-
SPI for handling the session scope lifecycle.
- isGlobalScopePresent() - Static method in class com.helger.scope.mgr.ScopeManager
-
- isGlobalSingletonInstantiated(Class<? extends AbstractGlobalSingleton>) - Static method in class com.helger.scope.singleton.AbstractGlobalSingleton
-
Check if a singleton is already instantiated inside the current global
scope
- isInDestruction() - Method in class com.helger.scope.AbstractScope
-
- isInDestruction() - Method in interface com.helger.scope.IScope
-
- isInDestruction() - Method in class com.helger.scope.singleton.AbstractSingleton
-
- isInInstantiation() - Method in class com.helger.scope.singleton.AbstractSingleton
-
- isInPreDestruction() - Method in class com.helger.scope.AbstractScope
-
- isInPreDestruction() - Method in class com.helger.scope.singleton.AbstractSingleton
-
- isInstantiated() - Method in class com.helger.scope.singleton.AbstractSingleton
-
- isInstantiated() - Static method in class com.helger.scope.spi.ScopeSPIManager
-
- isInternalAttribute(String) - Static method in class com.helger.scope.mgr.ScopeManager
-
Check if the passed attribute name is an internal attribute.
- isLifeCycleDebuggingEnabled() - Static method in class com.helger.scope.ScopeHelper
-
- isRequestScopePresent() - Static method in class com.helger.scope.mgr.ScopeManager
-
- isRequestSingletonInstantiated(Class<? extends AbstractRequestSingleton>) - Static method in class com.helger.scope.singleton.AbstractRequestSingleton
-
Check if a singleton is already instantiated inside the current request
scope
- isSessionSingletonInstantiated(Class<? extends AbstractSessionSingleton>) - Static method in class com.helger.scope.singleton.AbstractSessionSingleton
-
Check if a singleton is already instantiated inside the current session
scope
- isSingletonInstantiated(IScope, Class<? extends AbstractSingleton>) - Static method in class com.helger.scope.singleton.AbstractSingleton
-
Check if a singleton is already instantiated inside a scope
- isUsableObject() - Method in class com.helger.scope.singleton.AbstractSingleton
-
- isValid() - Method in class com.helger.scope.AbstractScope
-
- isValid() - Method in interface com.helger.scope.IScope
-
- SCOPE_ATTRIBUTE_PREFIX_INTERNAL - Static variable in class com.helger.scope.mgr.ScopeManager
-
The prefix to be used for attribute names in any scope to indicate system
internal attributes
- ScopeAwareTestSetup - Class in com.helger.scope.mock
-
This class provides the initialization handling for scopes in unit tests.
- ScopeCleanup - Class in com.helger.scope
-
The sole purpose of this class to clear all caches, that reside in this
library.
- Scoped - Class in com.helger.scope.mgr
-
- Scoped() - Constructor for class com.helger.scope.mgr.Scoped
-
- Scoped(String, String) - Constructor for class com.helger.scope.mgr.Scoped
-
- ScopeHelper - Class in com.helger.scope
-
Global scope utility methods that don't nicely fit somewhere else.
- ScopeManager - Class in com.helger.scope.mgr
-
This is the manager class for non-web scope handling.
- ScopeSessionManager - Class in com.helger.scope.mgr
-
Internal manager class for session scopes.
- ScopeSessionManager() - Constructor for class com.helger.scope.mgr.ScopeSessionManager
-
Deprecated.
- ScopeSPIManager - Class in com.helger.scope.spi
-
This is an internal class, that triggers the SPI implementations registered
for scope lifecycle SPI implementations.
- ScopeTestRule - Class in com.helger.scope.mock
-
Special JUnit test rule to initialize scopes correctly.
- ScopeTestRule() - Constructor for class com.helger.scope.mock.ScopeTestRule
-
- selfDestruct() - Method in interface com.helger.scope.ISessionScope
-
A special internal method that destroys the session.
- selfDestruct() - Method in class com.helger.scope.SessionScope
-
- SessionScope - Class in com.helger.scope
-
- SessionScope(String) - Constructor for class com.helger.scope.SessionScope
-
- setDebugConsistency(boolean) - Static method in class com.helger.scope.singleton.SingletonHelper
-
Enable or disable singleton consistency debugging.
- setDebugGlobalScopeEnabled(boolean) - Static method in class com.helger.scope.ScopeHelper
-
Enable or disable global scope life cycle debugging.
- setDebugRequestScopeEnabled(boolean) - Static method in class com.helger.scope.ScopeHelper
-
Enable or disable request scope life cycle debugging.
- setDebugSessionScopeEnabled(boolean) - Static method in class com.helger.scope.ScopeHelper
-
Enable or disable session scope life cycle debugging.
- setDebugWithStackTrace(boolean) - Static method in class com.helger.scope.ScopeHelper
-
Enable or disable stack traces when debugging scopes.
- setDebugWithStackTrace(boolean) - Static method in class com.helger.scope.singleton.SingletonHelper
-
Enable or disable stack traces when debugging singletons.
- setDestroyAllSessionsOnScopeEnd(boolean) - Method in class com.helger.scope.mgr.ScopeSessionManager
-
- setDestroyed(boolean) - Method in class com.helger.scope.singleton.AbstractSingleton
-
- setEndAllSessionsOnScopeEnd(boolean) - Method in class com.helger.scope.mgr.ScopeSessionManager
-
- setGlobalScope(IGlobalScope) - Static method in class com.helger.scope.mgr.ScopeManager
-
This method is only to be called by this class and the web scope manager!
- setInDestruction(boolean) - Method in class com.helger.scope.singleton.AbstractSingleton
-
- setInInstantiation(boolean) - Method in class com.helger.scope.singleton.AbstractSingleton
-
- setInPreDestruction(boolean) - Method in class com.helger.scope.singleton.AbstractSingleton
-
- setInstantiated(boolean) - Method in class com.helger.scope.singleton.AbstractSingleton
-
- setLifeCycleDebuggingEnabled(boolean) - Static method in class com.helger.scope.ScopeHelper
-
Enable or disable scope life cycle debugging for all scopes.
- setupScopeTests() - Static method in class com.helger.scope.mock.ScopeAwareTestSetup
-
Run this before tests are executed to initialize a global scope and a
request.
- shutdownScopeTests() - Static method in class com.helger.scope.mock.ScopeAwareTestSetup
-
Run this after your tests to shutdown the request and the global scope.
- SingletonHelper - Class in com.helger.scope.singleton
-
Global singleton utility methods that don't nicely fit somewhere else.
- STORAGE_PATH - Static variable in class com.helger.scope.mock.ScopeAwareTestSetup
-
- STORAGE_PATH - Static variable in class com.helger.scope.mock.ScopeTestRule
-