Package org.apache.catalina
Class LifecycleEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.apache.catalina.LifecycleEvent
-
- All Implemented Interfaces:
Serializable
public final class LifecycleEvent extends EventObject
General event for notifying listeners of significant changes on a component that implements the Lifecycle interface. In particular, this will be useful on Containers, where these events replace the ContextInterceptor concept in Tomcat 3.x.- Version:
- $Revision: 1.1.2.1 $ $Date: 2007/08/17 15:46:26 $
- Author:
- Craig R. McClanahan
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description LifecycleEvent(Lifecycle lifecycle, String type)
Construct a new LifecycleEvent with the specified parameters.LifecycleEvent(Lifecycle lifecycle, String type, Object data)
Construct a new LifecycleEvent with the specified parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getData()
Return the event data of this event.Lifecycle
getLifecycle()
Return the Lifecycle on which this event occurred.String
getType()
Return the event type of this event.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-