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 Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionContainerEvent
(Container container, String type, Object data) Construct a new ContainerEvent with the specified parameters. -
Method Summary
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
ContainerEvent
-
-
Method Details
-
getData
Return the event data of this event.- Returns:
- The data, if any, associated with this event.
-
getContainer
Return the Container on which this event occurred.- Returns:
- The Container on which this event occurred.
-
getType
Return 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.
-
toString
Return a string representation of this event.- Overrides:
toString
in classEventObject
-