Interface ServletContainerInitializerHolder.WrapFunction

Enclosing class:
ServletContainerInitializerHolder

public static interface ServletContainerInitializerHolder.WrapFunction
Experimental Wrapper mechanism for ServletContainerInitializer objects.

Beans in ServletContextHandler or WebAppContext that implement this interface will be called to optionally wrap any newly created ServletContainerInitializers (before their onStartup method is called)

  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.servlet.ServletContainerInitializer
    wrapServletContainerInitializer(jakarta.servlet.ServletContainerInitializer sci)
    Optionally wrap the ServletContainerInitializer.
  • Method Details

    • wrapServletContainerInitializer

      jakarta.servlet.ServletContainerInitializer wrapServletContainerInitializer(jakarta.servlet.ServletContainerInitializer sci)
      Optionally wrap the ServletContainerInitializer.
      Parameters:
      sci - the ServletContainerInitializer being passed in.
      Returns:
      the sci(extend from ServletContainerInitializerHolder.Wrapper if you do wrap the ServletContainerInitializer)