Class 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void containerEvent​(ContainerEvent event)
      Acknowledge the occurrence of the specified event.
      void install()
      Installs this listener on the configured engine, host, and context.
      void lifecycleEvent​(LifecycleEvent event)
      Acknowledge the occurrence of the specified event.
      void propertyChange​(java.beans.PropertyChangeEvent evt)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 monitor
        host - The host to monitor, or null
        context - The context to monitor, or null
    • Method Detail

      • install

        public void install()
        Installs this listener on the configured engine, host, and context.
      • propertyChange

        public void propertyChange​(java.beans.PropertyChangeEvent evt)
        Specified by:
        propertyChange in interface java.beans.PropertyChangeListener