Package org.apache.catalina
Class LifecycleEvent
- java.lang.Object
 - 
- java.util.EventObject
 - 
- org.apache.catalina.LifecycleEvent
 
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable
public final class LifecycleEvent extends java.util.EventObjectGeneral event for notifying listeners of significant changes on a component that implements the Lifecycle interface.- Author:
 - Craig R. McClanahan
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description LifecycleEvent(Lifecycle lifecycle, java.lang.String type, java.lang.Object data)Construct a new LifecycleEvent with the specified parameters. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetData()LifecyclegetLifecycle()java.lang.StringgetType() 
 - 
 
- 
- 
Constructor Detail
- 
LifecycleEvent
public LifecycleEvent(Lifecycle lifecycle, java.lang.String type, java.lang.Object data)
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 Detail
- 
getData
public java.lang.Object getData()
- Returns:
 - the event data of this event.
 
 
- 
getLifecycle
public Lifecycle getLifecycle()
- Returns:
 - the Lifecycle on which this event occurred.
 
 
- 
getType
public java.lang.String getType()
- Returns:
 - the event type of this event.
 
 
 - 
 
 -