| Package | Description |
|---|---|
| com.helger.scope | |
| com.helger.scope.mgr | |
| com.helger.scope.spi |
| Modifier and Type | Class and Description |
|---|---|
class |
SessionScope
Default implementation of the
ISessionScope interface |
| Modifier and Type | Method and Description |
|---|---|
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.
|
static ISessionScope |
ScopeManager.getSessionScope(boolean bCreateIfNotExisting,
Function<? super String,? extends ISessionScope> aFactory) |
ISessionScope |
ScopeSessionManager.getSessionScopeOfID(String sScopeID)
Get the session scope with the specified ID.
|
| Modifier and Type | Method and Description |
|---|---|
com.helger.commons.collection.impl.ICommonsList<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 |
|---|---|
static ISessionScope |
ScopeManager.getSessionScope(boolean bCreateIfNotExisting,
Function<? super String,? extends ISessionScope> aFactory) |
| 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 © 2016–2019 Philip Helger. All rights reserved.