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 an instance of java.util.Properties that contains the properties defined for the lifecycle module in the domain.xml file. For more information about the domain.xml file, see the Sun GlassFish Enterprise Server v2.1.1 Administration Reference.
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.