The com.sun.appserv.server.LifecycleEvent class defines a server life cycle event. The following methods are associated with the event:
public java.lang.Object getData()
This method returns the data associated with the event.
This method returns the type of the last event, which is INIT_EVENT, STARTUP_EVENT, READY_EVENT, SHUTDOWN_EVENT, or TERMINATION_EVENT.
public com.sun.appserv.server.LifecycleEventContext getLifecycleEventContext()
This method returns the lifecycle event context, described next.
A LifecycleEvent instance is passed to the LifecycleListener.handleEvent method.