|
|
@ -348,7 +348,7 @@ public class UndertowServletWebServerFactory extends AbstractServletWebServerFac
|
|
|
|
DeploymentInfo deployment, ServletContextInitializer... initializers) {
|
|
|
|
DeploymentInfo deployment, ServletContextInitializer... initializers) {
|
|
|
|
ServletContextInitializer[] mergedInitializers = mergeInitializers(initializers);
|
|
|
|
ServletContextInitializer[] mergedInitializers = mergeInitializers(initializers);
|
|
|
|
Initializer initializer = new Initializer(mergedInitializers);
|
|
|
|
Initializer initializer = new Initializer(mergedInitializers);
|
|
|
|
deployment.addServletContainerInitalizer(new ServletContainerInitializerInfo(
|
|
|
|
deployment.addServletContainerInitializer(new ServletContainerInitializerInfo(
|
|
|
|
Initializer.class,
|
|
|
|
Initializer.class,
|
|
|
|
new ImmediateInstanceFactory<ServletContainerInitializer>(initializer),
|
|
|
|
new ImmediateInstanceFactory<ServletContainerInitializer>(initializer),
|
|
|
|
NO_CLASSES));
|
|
|
|
NO_CLASSES));
|
|
|
|