@ThreadSafe public final class PhotonSessionState extends com.helger.web.scope.singleton.AbstractSessionWebSingleton
| Constructor and Description |
|---|
PhotonSessionState()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static PhotonSessionState |
getInstance() |
static PhotonSessionState |
getInstanceIfInstantiated() |
String |
getLastApplicationID() |
PhotonSessionStatePerApp |
state(String sAppID)
Get or create a new state for the provided app ID.
|
PhotonSessionStatePerApp |
stateLastAppID() |
String |
toString() |
getAllSessionSingletons, getSessionSingleton, getSessionSingletonIfInstantiated, isSessionSingletonInstantiatedgetAllSingletons, getSingleton, getSingletonIfInstantiated, getSingletonScopeKey, isDestroyed, isInDestruction, isInInstantiation, isInPreDestruction, isInstantiated, isSingletonInstantiated, isUsableObject, onAfterInstantiation, onBeforeDestroy, onBeforeScopeDestruction, onDestroy, onScopeDestruction, readAbstractSingletonFields, setDestroyed, setInDestruction, setInInstantiation, setInPreDestruction, setInstantiated, writeAbstractSingletonFields@Deprecated @UsedViaReflection public PhotonSessionState()
@Nonnull public static PhotonSessionState getInstance()
null.getInstanceIfInstantiated()@Nullable public static PhotonSessionState getInstanceIfInstantiated()
null if this singleton was not yet instantiated.getInstance()@Nullable public String getLastApplicationID()
null.@Nonnull public PhotonSessionStatePerApp state(@Nonnull @Nonempty String sAppID)
sAppID - The app ID to get the state for. May neither be null
nor empty.null.@Nonnull public PhotonSessionStatePerApp stateLastAppID()
public String toString()
toString in class com.helger.scope.singleton.AbstractSingletonCopyright © 2014–2018 Philip Helger. All rights reserved.