Package org.apache.catalina
Class ContainerEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.apache.catalina.ContainerEvent
-
- All Implemented Interfaces:
Serializable
public final class ContainerEvent extends EventObject
General event for notifying listeners of significant changes on a Container.- Version:
- $Revision: 1.4 $ $Date: 2007/03/22 18:04:03 $
- Author:
- Craig R. McClanahan
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description ContainerEvent(Container container, String type, Object data)
Construct a new ContainerEvent with the specified parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Container
getContainer()
Return the Container on which this event occurred.Object
getData()
Return the event data of this event.String
getType()
Return the event type of this event.String
toString()
Return a string representation of this event.-
Methods inherited from class java.util.EventObject
getSource
-
-
-
-
Field Detail
-
PRE_DESTROY
public static final String PRE_DESTROY
- See Also:
- Constant Field Values
-
BEFORE_CONTEXT_INITIALIZER_ON_STARTUP
public static final String BEFORE_CONTEXT_INITIALIZER_ON_STARTUP
- See Also:
- Constant Field Values
-
AFTER_CONTEXT_INITIALIZER_ON_STARTUP
public static final String AFTER_CONTEXT_INITIALIZER_ON_STARTUP
- See Also:
- Constant Field Values
-
BEFORE_CONTEXT_INITIALIZED
public static final String BEFORE_CONTEXT_INITIALIZED
- See Also:
- Constant Field Values
-
AFTER_CONTEXT_INITIALIZED
public static final String AFTER_CONTEXT_INITIALIZED
- See Also:
- Constant Field Values
-
BEFORE_CONTEXT_DESTROYED
public static final String BEFORE_CONTEXT_DESTROYED
- See Also:
- Constant Field Values
-
AFTER_CONTEXT_DESTROYED
public static final String AFTER_CONTEXT_DESTROYED
- See Also:
- Constant Field Values
-
BEFORE_CONTEXT_ATTRIBUTE_ADDED
public static final String BEFORE_CONTEXT_ATTRIBUTE_ADDED
- See Also:
- Constant Field Values
-
AFTER_CONTEXT_ATTRIBUTE_ADDED
public static final String AFTER_CONTEXT_ATTRIBUTE_ADDED
- See Also:
- Constant Field Values
-
BEFORE_CONTEXT_ATTRIBUTE_REMOVED
public static final String BEFORE_CONTEXT_ATTRIBUTE_REMOVED
- See Also:
- Constant Field Values
-
AFTER_CONTEXT_ATTRIBUTE_REMOVED
public static final String AFTER_CONTEXT_ATTRIBUTE_REMOVED
- See Also:
- Constant Field Values
-
BEFORE_CONTEXT_ATTRIBUTE_REPLACED
public static final String BEFORE_CONTEXT_ATTRIBUTE_REPLACED
- See Also:
- Constant Field Values
-
AFTER_CONTEXT_ATTRIBUTE_REPLACED
public static final String AFTER_CONTEXT_ATTRIBUTE_REPLACED
- See Also:
- Constant Field Values
-
BEFORE_REQUEST_INITIALIZED
public static final String BEFORE_REQUEST_INITIALIZED
- See Also:
- Constant Field Values
-
AFTER_REQUEST_INITIALIZED
public static final String AFTER_REQUEST_INITIALIZED
- See Also:
- Constant Field Values
-
BEFORE_REQUEST_DESTROYED
public static final String BEFORE_REQUEST_DESTROYED
- See Also:
- Constant Field Values
-
AFTER_REQUEST_DESTROYED
public static final String AFTER_REQUEST_DESTROYED
- See Also:
- Constant Field Values
-
BEFORE_SESSION_CREATED
public static final String BEFORE_SESSION_CREATED
- See Also:
- Constant Field Values
-
AFTER_SESSION_CREATED
public static final String AFTER_SESSION_CREATED
- See Also:
- Constant Field Values
-
BEFORE_SESSION_DESTROYED
public static final String BEFORE_SESSION_DESTROYED
- See Also:
- Constant Field Values
-
AFTER_SESSION_DESTROYED
public static final String AFTER_SESSION_DESTROYED
- See Also:
- Constant Field Values
-
BEFORE_SESSION_ID_CHANGED
public static final String BEFORE_SESSION_ID_CHANGED
- See Also:
- Constant Field Values
-
AFTER_SESSION_ID_CHANGED
public static final String AFTER_SESSION_ID_CHANGED
- See Also:
- Constant Field Values
-
BEFORE_SESSION_ATTRIBUTE_ADDED
public static final String BEFORE_SESSION_ATTRIBUTE_ADDED
- See Also:
- Constant Field Values
-
AFTER_SESSION_ATTRIBUTE_ADDED
public static final String AFTER_SESSION_ATTRIBUTE_ADDED
- See Also:
- Constant Field Values
-
BEFORE_SESSION_ATTRIBUTE_REMOVED
public static final String BEFORE_SESSION_ATTRIBUTE_REMOVED
- See Also:
- Constant Field Values
-
AFTER_SESSION_ATTRIBUTE_REMOVED
public static final String AFTER_SESSION_ATTRIBUTE_REMOVED
- See Also:
- Constant Field Values
-
BEFORE_SESSION_ATTRIBUTE_REPLACED
public static final String BEFORE_SESSION_ATTRIBUTE_REPLACED
- See Also:
- Constant Field Values
-
AFTER_SESSION_ATTRIBUTE_REPLACED
public static final String AFTER_SESSION_ATTRIBUTE_REPLACED
- See Also:
- Constant Field Values
-
BEFORE_SESSION_VALUE_UNBOUND
public static final String BEFORE_SESSION_VALUE_UNBOUND
- See Also:
- Constant Field Values
-
AFTER_SESSION_VALUE_UNBOUND
public static final String AFTER_SESSION_VALUE_UNBOUND
- See Also:
- Constant Field Values
-
BEFORE_FILTER_INITIALIZED
public static final String BEFORE_FILTER_INITIALIZED
- See Also:
- Constant Field Values
-
AFTER_FILTER_INITIALIZED
public static final String AFTER_FILTER_INITIALIZED
- See Also:
- Constant Field Values
-
BEFORE_FILTER_DESTROYED
public static final String BEFORE_FILTER_DESTROYED
- See Also:
- Constant Field Values
-
AFTER_FILTER_DESTROYED
public static final String AFTER_FILTER_DESTROYED
- See Also:
- Constant Field Values
-
BEFORE_UPGRADE_HANDLER_INITIALIZED
public static final String BEFORE_UPGRADE_HANDLER_INITIALIZED
- See Also:
- Constant Field Values
-
AFTER_UPGRADE_HANDLER_INITIALIZED
public static final String AFTER_UPGRADE_HANDLER_INITIALIZED
- See Also:
- Constant Field Values
-
BEFORE_UPGRADE_HANDLER_DESTROYED
public static final String BEFORE_UPGRADE_HANDLER_DESTROYED
- See Also:
- Constant Field Values
-
AFTER_UPGRADE_HANDLER_DESTROYED
public static final String AFTER_UPGRADE_HANDLER_DESTROYED
- See Also:
- Constant Field Values
-
BEFORE_READ_LISTENER_ON_DATA_AVAILABLE
public static final String BEFORE_READ_LISTENER_ON_DATA_AVAILABLE
- See Also:
- Constant Field Values
-
AFTER_READ_LISTENER_ON_DATA_AVAILABLE
public static final String AFTER_READ_LISTENER_ON_DATA_AVAILABLE
- See Also:
- Constant Field Values
-
BEFORE_READ_LISTENER_ON_ALL_DATA_READ
public static final String BEFORE_READ_LISTENER_ON_ALL_DATA_READ
- See Also:
- Constant Field Values
-
AFTER_READ_LISTENER_ON_ALL_DATA_READ
public static final String AFTER_READ_LISTENER_ON_ALL_DATA_READ
- See Also:
- Constant Field Values
-
BEFORE_READ_LISTENER_ON_ERROR
public static final String BEFORE_READ_LISTENER_ON_ERROR
- See Also:
- Constant Field Values
-
AFTER_READ_LISTENER_ON_ERROR
public static final String AFTER_READ_LISTENER_ON_ERROR
- See Also:
- Constant Field Values
-
BEFORE_WRITE_LISTENER_ON_WRITE_POSSIBLE
public static final String BEFORE_WRITE_LISTENER_ON_WRITE_POSSIBLE
- See Also:
- Constant Field Values
-
AFTER_WRITE_LISTENER_ON_WRITE_POSSIBLE
public static final String AFTER_WRITE_LISTENER_ON_WRITE_POSSIBLE
- See Also:
- Constant Field Values
-
BEFORE_WRITE_LISTENER_ON_ERROR
public static final String BEFORE_WRITE_LISTENER_ON_ERROR
- See Also:
- Constant Field Values
-
AFTER_WRITE_LISTENER_ON_ERROR
public static final String AFTER_WRITE_LISTENER_ON_ERROR
- See Also:
- Constant Field Values
-
BEFORE_AUTHENTICATION
public static final String BEFORE_AUTHENTICATION
- See Also:
- Constant Field Values
-
AFTER_AUTHENTICATION
public static final String AFTER_AUTHENTICATION
- See Also:
- Constant Field Values
-
BEFORE_POST_AUTHENTICATION
public static final String BEFORE_POST_AUTHENTICATION
- See Also:
- Constant Field Values
-
AFTER_POST_AUTHENTICATION
public static final String AFTER_POST_AUTHENTICATION
- See Also:
- Constant Field Values
-
BEFORE_LOGOUT
public static final String BEFORE_LOGOUT
- See Also:
- Constant Field Values
-
AFTER_LOGOUT
public static final String AFTER_LOGOUT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getData
public Object getData()
Return the event data of this event.
-
getContainer
public Container getContainer()
Return the Container on which this event occurred.
-
getType
public String getType()
Return the event type of this event.
-
toString
public String toString()
Return a string representation of this event.- Overrides:
toString
in classEventObject
-
-