Package org.eclipse.jetty.servlet
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 TypeMethodDescriptionjavax.servlet.ServletContainerInitializer
wrapServletContainerInitializer
(javax.servlet.ServletContainerInitializer sci) Optionally wrap the ServletContainerInitializer.
-
Method Details
-
wrapServletContainerInitializer
javax.servlet.ServletContainerInitializer wrapServletContainerInitializer(javax.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)
-