FileDocCategorySizeDatePackage
ContainerEvent.javaAPI DocApache Tomcat 6.0.142616Fri Jul 20 04:20:34 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: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $

Fields Summary
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() + "']");