org.apache.catalina.util
public final class LifecycleSupport extends Object
Version: $Id: LifecycleSupport.java 771009 2009-05-03 01:15:41Z markt $
Constructor Summary | |
---|---|
LifecycleSupport(Lifecycle lifecycle)
Construct a new LifecycleSupport object associated with the specified
Lifecycle component.
|
Method Summary | |
---|---|
void | addLifecycleListener(LifecycleListener listener)
Add a lifecycle event listener to this component.
|
LifecycleListener[] | findLifecycleListeners()
Get the lifecycle listeners associated with this lifecycle. |
void | fireLifecycleEvent(String type, Object data)
Notify all lifecycle event listeners that a particular event has
occurred for this Container. |
void | removeLifecycleListener(LifecycleListener listener)
Remove a lifecycle event listener from this component.
|
Parameters: lifecycle The Lifecycle component that will be the source of events that we fire
Parameters: listener The listener to add
Parameters: type Event type data Event data
Parameters: listener The listener to remove