Interface WebListenerRegistry

All Known Subinterfaces:
ConfigurableServletWebServerFactory
All Known Implementing Classes:
AbstractServletWebServerFactory, JettyServletWebServerFactory, TomcatServletWebServerFactory, UndertowServletWebServerFactory

public interface WebListenerRegistry
A registry that holds @WebListeners.
Since:
2.4.0
Author:
Andy Wilkinson
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addWebListeners(String... webListenerClassNames)
    Adds web listeners that will be registered with the servlet container.
  • Method Details

    • addWebListeners

      void addWebListeners(String... webListenerClassNames)
      Adds web listeners that will be registered with the servlet container.
      Parameters:
      webListenerClassNames - the class names of the web listeners