org.apache.catalina

Class ContainerEvent

public final class ContainerEvent extends EventObject

General event for notifying listeners of significant changes on a Container.

Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $

Author: Craig R. McClanahan

Constructor Summary
ContainerEvent(Container container, String type, Object data)
Construct a new ContainerEvent with the specified parameters.
Method Summary
ContainergetContainer()
Return the Container on which this event occurred.
ObjectgetData()
Return the event data of this event.
StringgetType()
Return the event type of this event.
StringtoString()
Return a string representation of this event.

Constructor Detail

ContainerEvent

public ContainerEvent(Container container, String type, Object data)
Construct a new ContainerEvent with the specified parameters.

Parameters: container Container on which this event occurred type Event type data Event data

Method Detail

getContainer

public Container getContainer()
Return the Container on which this event occurred.

getData

public Object getData()
Return the event data of this event.

getType

public String getType()
Return the event type of this event.

toString

public String toString()
Return a string representation of this event.
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.