public final class ShutdownContext
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ShutdownContext.EventType
An application can be shutdown in many ways, and ShutdownListener provides
a way to insert code into that sequence.
|
Constructor and Description |
---|
ShutdownContext(java.lang.ClassLoader classLoader,
java.lang.String appId,
ShutdownContext.EventType eventType)
Deprecated.
|
ShutdownContext(java.lang.ClassLoader classLoader,
java.lang.String appId,
ShutdownContext.EventType eventType,
java.lang.Object addlEnvInfo) |
ShutdownContext(java.lang.ClassLoader classLoader,
java.lang.String appId,
ShutdownContext.EventType eventType,
java.lang.Object addlEnvInfo,
boolean undeploying) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAddlEnvInfo() |
java.lang.String |
getApplicationId() |
java.lang.String |
getApplicationKey() |
java.lang.ClassLoader |
getClassLoader() |
int |
getEventSequence() |
ShutdownContext.EventType |
getEventType() |
boolean |
isUndeploying() |
java.lang.String |
toString() |
@Deprecated public ShutdownContext(java.lang.ClassLoader classLoader, java.lang.String appId, ShutdownContext.EventType eventType)
public ShutdownContext(java.lang.ClassLoader classLoader, java.lang.String appId, ShutdownContext.EventType eventType, java.lang.Object addlEnvInfo)
public ShutdownContext(java.lang.ClassLoader classLoader, java.lang.String appId, ShutdownContext.EventType eventType, java.lang.Object addlEnvInfo, boolean undeploying)
public boolean isUndeploying()
public java.lang.Object getAddlEnvInfo()
public ShutdownContext.EventType getEventType()
ShutdownContext.EventType
public int getEventSequence()
public java.lang.ClassLoader getClassLoader()
public java.lang.String getApplicationKey()
public java.lang.String getApplicationId()
public java.lang.String toString()
toString
in class java.lang.Object