public class GlobalListenerSupport extends Object implements PropertyChangeListener, org.apache.catalina.LifecycleListener
| Modifier and Type | Class and Description |
|---|---|
static class |
GlobalListenerSupport.MoniterableHashMap |
| Modifier and Type | Field and Description |
|---|---|
static String |
DESTROY_EVENT
The LifecycleEvent type for the "component destroy" event.
|
static String |
INIT_EVENT
The LifecycleEvent type for the "component init" event.
|
| Constructor and Description |
|---|
GlobalListenerSupport(org.apache.catalina.core.StandardServer standardServer,
ContextListener contextListener)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
lifecycleEvent(org.apache.catalina.LifecycleEvent event) |
void |
propertyChange(PropertyChangeEvent event) |
void |
start()
Starts operation.
|
void |
stop()
Stops operation.
|
public static final String INIT_EVENT
public static final String DESTROY_EVENT
public GlobalListenerSupport(org.apache.catalina.core.StandardServer standardServer,
ContextListener contextListener)
standardServer - tomcat server instancecontextListener - context listener instancepublic void lifecycleEvent(org.apache.catalina.LifecycleEvent event)
lifecycleEvent in interface org.apache.catalina.LifecycleListenerpublic void start()
public void stop()
public void propertyChange(PropertyChangeEvent event)
propertyChange in interface PropertyChangeListenerCopyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.