| Package | Description |
|---|---|
| com.helger.commons.scope | |
| com.helger.commons.scope.mgr | |
| com.helger.commons.scope.spi |
| Modifier and Type | Class and Description |
|---|---|
class |
SessionScope
Default implementation of the
ISessionScope interface |
| Modifier and Type | Method and Description |
|---|---|
ISessionScope |
IScopeFactory.createSessionScope(String sScopeID)
Create a new session scope
|
ISessionScope |
DefaultScopeFactory.createSessionScope(String sScopeID) |
static ISessionScope |
ScopeManager.getSessionScope()
Get the current session scope, based on the current request scope.
|
static ISessionScope |
ScopeManager.getSessionScope(boolean bCreateIfNotExisting)
Get the current session scope, based on the current request scope.
|
ISessionScope |
ScopeSessionManager.getSessionScopeOfID(String sScopeID)
Get the session scope with the specified ID.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends ISessionScope> |
ScopeSessionManager.getAllSessionScopes() |
| Modifier and Type | Method and Description |
|---|---|
static void |
ScopeManager.destroySessionScope(ISessionScope aSessionScope)
Manually destroy the passed session scope.
|
void |
ScopeSessionManager.onScopeBegin(ISessionScope aSessionScope)
Register the passed session scope in the internal map, call the
#initScope() method and finally invoke the SPIs for
the new scope. |
void |
ScopeSessionManager.onScopeEnd(ISessionScope aSessionScope)
Close the passed session scope gracefully.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ScopeSPIManager.onSessionScopeBegin(ISessionScope aSessionScope) |
void |
ISessionScopeSPI.onSessionScopeBegin(ISessionScope aSessionScope)
Called after the session scope was started
|
void |
ScopeSPIManager.onSessionScopeEnd(ISessionScope aSessionScope) |
void |
ISessionScopeSPI.onSessionScopeEnd(ISessionScope aSessionScope)
Called before the session scope is shut down
|
Copyright © 2014–2015 Philip Helger. All rights reserved.