Package org.apache.catalina
Class LifecycleEvent
java.lang.Object
java.util.EventObject
org.apache.catalina.LifecycleEvent
- All Implemented Interfaces:
Serializable
General event for notifying listeners of significant changes on a component
that implements the Lifecycle interface.
- Author:
- Craig R. McClanahan
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionLifecycleEvent
(Lifecycle lifecycle, String type, Object data) Construct a new LifecycleEvent with the specified parameters. -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
LifecycleEvent
Construct a new LifecycleEvent with the specified parameters.- Parameters:
lifecycle
- Component on which this event occurredtype
- Event type (required)data
- Event data (if any)
-
-
Method Details
-
getData
- Returns:
- the event data of this event.
-
getLifecycle
- Returns:
- the Lifecycle on which this event occurred.
-
getType
- Returns:
- the event type of this event.
-