public class LifecycleEvent
extends java.util.EventObject
| Constructor and Description | 
|---|
LifecycleEvent(InstanceInfo instance,
              java.lang.Object newStatus,
              java.lang.Object oldStatus,
              Context context,
              java.util.logging.Logger logger)  | 
| Modifier and Type | Method and Description | 
|---|---|
Context | 
getContext()
Return the context of this event if one is available. 
 | 
InstanceInfo | 
getInstanceInfo()
The instance with which this event is associated. 
 | 
java.util.logging.Logger | 
getLogger()
Returns a logger that can be used to log messages regarding
 the lifecycle of the instance. 
 | 
java.lang.Object | 
getPreviousStatus()
Status before this event was triggered. 
 | 
java.lang.Object | 
getStatus()
Status that triggered this event. 
 | 
java.lang.Throwable | 
getThrowable()
If getStatus() is 'ERROR' or 'UNKNOWN' a throwable may
 be retrieved from the event if one was set by the instance. 
 | 
public LifecycleEvent(InstanceInfo instance, java.lang.Object newStatus, java.lang.Object oldStatus, Context context, java.util.logging.Logger logger)
public java.lang.Object getStatus()
public java.lang.Object getPreviousStatus()
public InstanceInfo getInstanceInfo()
public Context getContext()
public java.util.logging.Logger getLogger()
public java.lang.Throwable getThrowable()