|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.apache.catalina.LifecycleEvent
public final class LifecycleEvent
General event for notifying listeners of significant changes on a component that implements the Lifecycle interface. In particular, this will be useful on Containers, where these events replace the ContextInterceptor concept in Tomcat 3.x.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
LifecycleEvent(Lifecycle lifecycle,
java.lang.String type)
Construct a new LifecycleEvent with the specified parameters. |
|
LifecycleEvent(Lifecycle lifecycle,
java.lang.String type,
java.lang.Object data)
Construct a new LifecycleEvent with the specified parameters. |
Method Summary | |
---|---|
java.lang.Object |
getData()
Return the event data of this event. |
Lifecycle |
getLifecycle()
Return the Lifecycle on which this event occurred. |
java.lang.String |
getType()
Return the event type of this event. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LifecycleEvent(Lifecycle lifecycle, java.lang.String type)
lifecycle
- Component on which this event occurredtype
- Event type (required)public LifecycleEvent(Lifecycle lifecycle, java.lang.String type, java.lang.Object data)
lifecycle
- Component on which this event occurredtype
- Event type (required)data
- Event data (if any)Method Detail |
---|
public java.lang.Object getData()
public Lifecycle getLifecycle()
public java.lang.String getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |