public class GlobalListenerSupport
extends java.lang.Object
implements java.beans.PropertyChangeListener
Modifier and Type | Class and Description |
---|---|
static class |
GlobalListenerSupport.MoniterableHashMap |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DESTROY_EVENT
The LifecycleEvent type for the "component destroy" event.
|
static java.lang.String |
INIT_EVENT
The LifecycleEvent type for the "component init" event.
|
Constructor and Description |
---|
GlobalListenerSupport(StandardServer standardServer,
ContextListener contextListener)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
lifecycleEvent(LifecycleEvent event) |
void |
propertyChange(java.beans.PropertyChangeEvent event) |
void |
start()
Starts operation.
|
void |
stop()
Stops operation.
|
public static final java.lang.String INIT_EVENT
public static final java.lang.String DESTROY_EVENT
public GlobalListenerSupport(StandardServer standardServer, ContextListener contextListener)
standardServer
- tomcat server instancecontextListener
- context listener instancepublic void lifecycleEvent(LifecycleEvent event)
public void start()
public void stop()
public void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange
in interface java.beans.PropertyChangeListener