Package org.joinfaces.servlet
Klasse ServletContainerInitializerRegistrationBean<T extends ServletContainerInitializer>
java.lang.Object
org.joinfaces.servlet.ServletContainerInitializerRegistrationBean<T>
- Typparameter:
T
- Type of the actualServletContainerInitializer
implementation
- Alle implementierten Schnittstellen:
WebServerFactoryCustomizer<ConfigurableServletWebServerFactory>
- Bekannte direkte Unterklassen:
MojarraInitializerRegistrationBean
,MyFacesInitializerRegistrationBean
,WeldServletContainerInitializerRegistrationBean
public class ServletContainerInitializerRegistrationBean<T extends ServletContainerInitializer>
extends Object
implements WebServerFactoryCustomizer<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
.
-
Konstruktorübersicht
KonstruktorBeschreibungServletContainerInitializerRegistrationBean
(Class<T> servletContainerInitializerClass) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
findPreparedScanResult
(ClassLoader classLoader) getClasses
(ClassLoader classLoader) protected void
handleScanResult
(ScanResult scanResult) boolean
void
setUsePreparedScanResult
(boolean usePreparedScanResult)
-
Konstruktordetails
-
ServletContainerInitializerRegistrationBean
-
-
Methodendetails
-
customize
- Angegeben von:
customize
in SchnittstelleWebServerFactoryCustomizer<T extends ServletContainerInitializer>
-
getClasses
-
findPreparedScanResult
-
getPreparedScanResultPath
-
performClasspathScan
-
handleScanResult
-
getServletContainerInitializerClass
-
isUsePreparedScanResult
public boolean isUsePreparedScanResult() -
setUsePreparedScanResult
public void setUsePreparedScanResult(boolean usePreparedScanResult)
-