Package org.apache.catalina.core
Class StandardEngine.AccessLogListener
- java.lang.Object
-
- org.apache.catalina.core.StandardEngine.AccessLogListener
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener,java.util.EventListener,ContainerListener,LifecycleListener
- Enclosing class:
- StandardEngine
protected static final class StandardEngine.AccessLogListener extends java.lang.Object implements java.beans.PropertyChangeListener, LifecycleListener, ContainerListener
Listener that manages access log configuration for engine, host, and context lifecycle events.
-
-
Constructor Summary
Constructors Constructor Description AccessLogListener(StandardEngine engine, Host host, Context context)Creates a new AccessLogListener for the given engine, host, and context.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcontainerEvent(ContainerEvent event)Acknowledge the occurrence of the specified event.voidinstall()Installs this listener on the configured engine, host, and context.voidlifecycleEvent(LifecycleEvent event)Acknowledge the occurrence of the specified event.voidpropertyChange(java.beans.PropertyChangeEvent evt)
-
-
-
Constructor Detail
-
AccessLogListener
public AccessLogListener(StandardEngine engine, Host host, Context context)
Creates a new AccessLogListener for the given engine, host, and context.- Parameters:
engine- The engine to monitorhost- The host to monitor, or nullcontext- The context to monitor, or null
-
-
Method Detail
-
install
public void install()
Installs this listener on the configured engine, host, and context.
-
lifecycleEvent
public void lifecycleEvent(LifecycleEvent event)
Description copied from interface:LifecycleListenerAcknowledge the occurrence of the specified event.- Specified by:
lifecycleEventin interfaceLifecycleListener- Parameters:
event- LifecycleEvent that has occurred
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChangein interfacejava.beans.PropertyChangeListener
-
containerEvent
public void containerEvent(ContainerEvent event)
Description copied from interface:ContainerListenerAcknowledge the occurrence of the specified event.- Specified by:
containerEventin interfaceContainerListener- Parameters:
event- ContainerEvent that has occurred
-
-