T - The type of the ServletContainerInitializerpublic abstract 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 ServletContainerInitializers.
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 abstract 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.