ContainerListener (Apache Tomcat 9.0.121 API Documentation)
Description: declaration: package: org.apache.catalina, interface: ContainerListener

# Interface ContainerListener

All Known Implementing Classes:
  `FrameworkListener, MapperListener, NamingContextListener, StandardEngine.AccessLogListener, ThreadLocalLeakPreventionListener`

public interface ContainerListener
Interface defining a listener for significant Container generated events. Note that "container start" and "container stop" events are normally LifecycleEvents, not ContainerEvents.

- ## Method Summary

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

- ## Method Details

  - ### containerEvent

    void containerEvent(ContainerEvent event)
    Acknowledge the occurrence of the specified event.
    Parameters:
      `event` - ContainerEvent that has occurred