T
- The type of the ServletContainerInitializer
public class ServletContainerInitializerRegistrationBean<T extends javax.servlet.ServletContainerInitializer> extends Object implements org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory>
RegistrationBean
for ServletContainerInitializer
s.
This is implemented as WebServerFactoryCustomizer
so its only applied to embedded servlet-containers.
When deployed as war file, the external servlet-container will handle the ServletContainerInitializer
.
Constructor and Description |
---|
ServletContainerInitializerRegistrationBean() |
Modifier and Type | Method and Description |
---|---|
void |
customize(org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory factory) |
protected Set<Class<?>> |
getClasses(javax.servlet.annotation.HandlesTypes handlesTypes) |
public ServletContainerInitializerRegistrationBean()
public void customize(org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory factory)
customize
in interface org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory>
Copyright © 2016–2018 JoinFaces. All rights reserved.