Tomcat.DefaultWebXmlListener (Apache Tomcat 7.0.96 API Documentation)

org.apache.catalina.startup

## Class Tomcat.DefaultWebXmlListener

- java.lang.Object
- - org.apache.catalina.startup.Tomcat.DefaultWebXmlListener

- All Implemented Interfaces:
    LifecycleListener
  Enclosing class:
    Tomcat

      public static class Tomcat.DefaultWebXmlListener
      extends java.lang.Object
      implements LifecycleListener

  Fix reload - required if reloading and using programmatic configuration. When a context is reloaded, any programmatic configuration is lost. This listener sets the equivalent of conf/web.xml when the context starts.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Tomcat.DefaultWebXmlListener()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `lifecycleEvent(LifecycleEvent event)` Acknowledge the occurrence of the specified event.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Tomcat.DefaultWebXmlListener

          public Tomcat.DefaultWebXmlListener()

  - ### Method Detail

    - #### lifecycleEvent

          public void lifecycleEvent(LifecycleEvent event)

      Description copied from interface: `LifecycleListener`
      Acknowledge the occurrence of the specified event.
      Specified by:
        `lifecycleEvent` in interface `LifecycleListener`
      Parameters:
        `event` - LifecycleEvent that has occurred

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.