Package org.joinfaces.servlet
Class ServletContainerInitializerRegistrationBean<T extends ServletContainerInitializer>
java.lang.Object
org.joinfaces.servlet.ServletContainerInitializerRegistrationBean<T>
- Type Parameters:
 T- Type of the actualServletContainerInitializerimplementation
- All Implemented Interfaces:
 org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory>
- Direct Known Subclasses:
 MojarraInitializerRegistrationBean,MyFacesInitializerRegistrationBean,WeldServletContainerInitializerRegistrationBean
public class ServletContainerInitializerRegistrationBean<T extends 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 Summary
ConstructorsConstructorDescriptionServletContainerInitializerRegistrationBean(Class<T> servletContainerInitializerClass)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidcustomize(org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory factory) findPreparedScanResult(ClassLoader classLoader) getClasses(ClassLoader classLoader) protected voidhandleScanResult(ScanResult scanResult) booleanvoidsetUsePreparedScanResult(boolean usePreparedScanResult)  
- 
Constructor Details
- 
ServletContainerInitializerRegistrationBean
 
 - 
 - 
Method Details
- 
customize
public void customize(org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory factory) - Specified by:
 customizein interfaceorg.springframework.boot.web.server.WebServerFactoryCustomizer<T extends ServletContainerInitializer>
 - 
getClasses
 - 
findPreparedScanResult
 - 
getPreparedScanResultPath
 - 
performClasspathScan
 - 
handleScanResult
 - 
getServletContainerInitializerClass
 - 
isUsePreparedScanResult
public boolean isUsePreparedScanResult() - 
setUsePreparedScanResult
public void setUsePreparedScanResult(boolean usePreparedScanResult)  
 -