Interface WebListenerRegistry

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

public interface WebListenerRegistry
A registry that holds @WebListeners.
Since:
4.0.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 web server.
  • Method Details

    • addWebListeners

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