FileDocCategorySizeDatePackage
ContainerEvent.javaAPI DocGlassfish v2 API6521Fri May 04 22:31:52 BST 2007org.apache.catalina

ContainerEvent

public final class ContainerEvent extends EventObject
General event for notifying listeners of significant changes on a Container.
author
Craig R. McClanahan
version
$Revision: 1.5 $ $Date: 2007/05/05 05:31:51 $

Fields Summary
public static final String
BEFORE_CONTEXT_INITIALIZED
public static final String
AFTER_CONTEXT_INITIALIZED
public static final String
BEFORE_CONTEXT_DESTROYED
public static final String
AFTER_CONTEXT_DESTROYED
public static final String
BEFORE_CONTEXT_ATTRIBUTE_ADDED
public static final String
AFTER_CONTEXT_ATTRIBUTE_ADDED
public static final String
BEFORE_CONTEXT_ATTRIBUTE_REMOVED
public static final String
AFTER_CONTEXT_ATTRIBUTE_REMOVED
public static final String
BEFORE_CONTEXT_ATTRIBUTE_REPLACED
public static final String
AFTER_CONTEXT_ATTRIBUTE_REPLACED
public static final String
BEFORE_REQUEST_INITIALIZED
public static final String
AFTER_REQUEST_INITIALIZED
public static final String
BEFORE_REQUEST_DESTROYED
public static final String
AFTER_REQUEST_DESTROYED
public static final String
BEFORE_SESSION_CREATED
public static final String
AFTER_SESSION_CREATED
public static final String
BEFORE_SESSION_DESTROYED
public static final String
AFTER_SESSION_DESTROYED
public static final String
BEFORE_SESSION_ATTRIBUTE_ADDED
public static final String
AFTER_SESSION_ATTRIBUTE_ADDED
public static final String
BEFORE_SESSION_ATTRIBUTE_REMOVED
public static final String
AFTER_SESSION_ATTRIBUTE_REMOVED
public static final String
BEFORE_SESSION_ATTRIBUTE_REPLACED
public static final String
AFTER_SESSION_ATTRIBUTE_REPLACED
public static final String
BEFORE_FILTER_INITIALIZED
public static final String
AFTER_FILTER_INITIALIZED
public static final String
BEFORE_FILTER_DESTROYED
public static final String
AFTER_FILTER_DESTROYED
public static final String
AFTER_LISTENER_INSTANTIATED
private Container
container
The Container on which this event occurred.
private Object
data
The event data associated with this event.
private String
type
The event type this instance represents.
Constructors Summary
public ContainerEvent(Container container, String type, Object data)
Construct a new ContainerEvent with the specified parameters.

param
container Container on which this event occurred
param
type Event type
param
data Event data



                                 
           

        super(container);
        this.container = container;
        this.type = type;
        this.data = data;

    
Methods Summary
public ContainergetContainer()
Return the Container on which this event occurred.


        return (this.container);

    
public java.lang.ObjectgetData()
Return the event data of this event.


        return (this.data);

    
public java.lang.StringgetType()
Return the event type of this event.


        return (this.type);

    
public java.lang.StringtoString()
Return a string representation of this event.


        return ("ContainerEvent['" + getContainer() + "','" +
                getType() + "','" + getData() + "']");