Class ServletContainerInitializerRegistrationBean<T extends javax.servlet.ServletContainerInitializer>
- java.lang.Object
- 
- org.joinfaces.autoconfigure.servlet.initializer.ServletContainerInitializerRegistrationBean<T>
 
- 
- Type Parameters:
- T- Type of the actual- ServletContainerInitializerimplementation
 - All Implemented Interfaces:
- org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory>
 - Direct Known Subclasses:
- MyFacesInitializerRegistrationBean
 
 public class ServletContainerInitializerRegistrationBean<T extends javax.servlet.ServletContainerInitializer> extends Object implements org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory> RegistrationBeanforServletContainerInitializers.This is implemented as WebServerFactoryCustomizerso its only applied to embedded servlet-containers. When deployed as war file, the external servlet-container will handle theServletContainerInitializer.
- 
- 
Constructor SummaryConstructors Constructor Description ServletContainerInitializerRegistrationBean()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcustomize(org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory factory)protected Optional<Set<Class<?>>>findPreparedScanResult(ClassLoader classLoader)protected Set<Class<?>>getClasses(ClassLoader classLoader)protected voidhandleScanResult(io.github.classgraph.ScanResult scanResult)protected Set<Class<?>>performClasspathScan()
 
- 
- 
- 
Method Detail- 
customizepublic void customize(org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory factory) - Specified by:
- customizein interface- org.springframework.boot.web.server.WebServerFactoryCustomizer<T extends javax.servlet.ServletContainerInitializer>
 
 - 
getClassesprotected Set<Class<?>> getClasses(ClassLoader classLoader) 
 - 
findPreparedScanResultprotected Optional<Set<Class<?>>> findPreparedScanResult(ClassLoader classLoader) 
 - 
handleScanResultprotected void handleScanResult(io.github.classgraph.ScanResult scanResult) 
 
- 
 
-