Tomcat.FixContextListener (Apache Tomcat 10.1.48 API Documentation)
Description: declaration: package: org.apache.catalina.startup, class: Tomcat, class: FixContextListener

# Class Tomcat.FixContextListener

java.lang.Object
org.apache.catalina.startup.Tomcat.FixContextListener

All Implemented Interfaces:
  `LifecycleListener`

Enclosing class:
  `Tomcat`

public static class Tomcat.FixContextListener extends Object implements LifecycleListener
Fix startup sequence - required if you don't use web.xml.

The start() method in context will set 'configured' to false - and expects a listener to set it back to true.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `FixContextListener()`

- ## Method Summary

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

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### FixContextListener

    public FixContextListener()

- ## Method Details

  - ### 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