public final class PhotonGlobalState
extends com.helger.web.scope.singleton.AbstractGlobalWebSingleton
| Constructor and Description |
|---|
PhotonGlobalState()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
containsAnyApplicationServletPathMapping() |
static com.helger.commons.collection.impl.ICommonsMap<String,String> |
getAppIDToServletPathMap() |
String |
getDefaultApplicationID() |
static PhotonGlobalState |
getInstance() |
static void |
removeAllApplicationServletPathMappings() |
void |
setDefaultApplicationID(String sDefaultApplicationID)
Set the default application ID of an application servlet.
|
static PhotonGlobalStatePerApp |
state(String sAppID) |
getAllGlobalSingletons, getGlobalSingleton, getGlobalSingletonIfInstantiated, isGlobalSingletonInstantiatedgetAllSingletons, getSingleton, getSingletonIfInstantiated, getSingletonScopeKey, isDestroyed, isInDestruction, isInInstantiation, isInPreDestruction, isInstantiated, isSingletonInstantiated, isUsableObject, onAfterInstantiation, onBeforeDestroy, onBeforeScopeDestruction, onDestroy, onScopeDestruction, readAbstractSingletonFields, setDestroyed, setInDestruction, setInInstantiation, setInPreDestruction, setInstantiated, toString, writeAbstractSingletonFields@Deprecated @UsedViaReflection public PhotonGlobalState()
@Nonnull public static PhotonGlobalState getInstance()
@Nullable public String getDefaultApplicationID()
null.public void setDefaultApplicationID(@Nullable String sDefaultApplicationID)
sDefaultApplicationID - The last application ID to be set. May be null.@Nonnull public static PhotonGlobalStatePerApp state(@Nonnull @Nonempty String sAppID)
public static void removeAllApplicationServletPathMappings()
public static boolean containsAnyApplicationServletPathMapping()
Copyright © 2014–2018 Philip Helger. All rights reserved.