Package org.apache.catalina
Class ContainerEvent
java.lang.Object
java.util.EventObject
org.apache.catalina.ContainerEvent
- All Implemented Interfaces:
- Serializable
General event for notifying listeners of significant changes on a Container.
- Author:
- Craig R. McClanahan
- See Also:
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionContainerEvent(Container container, String type, Object data) Construct a new ContainerEvent with the specified parameters.
- 
Method SummaryMethods inherited from class java.util.EventObjectgetSource
- 
Constructor Details- 
ContainerEventConstruct a new ContainerEvent with the specified parameters.- Parameters:
- container- Container on which this event occurred
- type- Event type
- data- Event data
 
 
- 
- 
Method Details- 
getDataReturn the event data of this event.- Returns:
- The data, if any, associated with this event.
 
- 
getContainerReturn the Container on which this event occurred.- Returns:
- The Container on which this event occurred.
 
- 
getTypeReturn the event type of this event.- Returns:
- The event type of this event. Although this is a String, it is safe to rely on the value returned by this method remaining consistent between point releases.
 
- 
toStringReturn a string representation of this event.- Overrides:
- toStringin class- EventObject
 
 
-