Interface ContextListener

All Superinterfaces:
org.ocpsoft.common.pattern.Weighted

public interface ContextListener extends org.ocpsoft.common.pattern.Weighted
Listens to ServletContextEvent. Additional listeners may be specified by providing a service activator file containing the name of your implementations:

/META-INF/services/org.ocpsoft.rewrite.servlet.spi.ContextListener
--------------
com.example.ContextListenerImpl

Author:
Lincoln Baxter, III
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    contextDestroyed(jakarta.servlet.ServletContextEvent event)
    Respond to ServletContext destroyed event.
    void
    contextInitialized(jakarta.servlet.ServletContextEvent event)
    Respond to ServletContext initialized event.

    Methods inherited from interface org.ocpsoft.common.pattern.Weighted

    priority
  • Method Details

    • contextInitialized

      void contextInitialized(jakarta.servlet.ServletContextEvent event)
      Respond to ServletContext initialized event.
    • contextDestroyed

      void contextDestroyed(jakarta.servlet.ServletContextEvent event)
      Respond to ServletContext destroyed event.