@NotThreadSafe public class TCInit extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
initGlobally(javax.servlet.ServletContext aServletContext)
Globally init the TOOP Connector.
|
static boolean |
isInitialized() |
static void |
shutdownGlobally(javax.servlet.ServletContext aServletContext)
Globally shutdown the TOOP Connector.
|
public static void initGlobally(@Nonnull javax.servlet.ServletContext aServletContext)
aServletContext - The servlet context used for initialization. May not be
null but maybe a mocked one.IllegalStateException - If the TOOP Connector is already initializedcom.helger.commons.exception.InitializationException - If any of the settings are totally boguspublic static boolean isInitialized()
true if the TOOP Connector was initialized (or is
currently initializing or is currently shutdown),
false if not.public static void shutdownGlobally(@Nonnull javax.servlet.ServletContext aServletContext)
aServletContext - The servlet context used for shutdown. May not be null
but maybe a mocked one.IllegalStateException - If the TOOP Connector is not initializedCopyright © 2020 toop.eu. All rights reserved.