Package org.joinfaces.weld
Class WeldServletContainerInitializerRegistrationBean
java.lang.Object
org.joinfaces.servlet.ServletContainerInitializerRegistrationBean<EnhancedListener>
org.joinfaces.weld.WeldServletContainerInitializerRegistrationBean
- All Implemented Interfaces:
org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory>
public class WeldServletContainerInitializerRegistrationBean
extends ServletContainerInitializerRegistrationBean<EnhancedListener>
ServletContainerInitializerRegistrationBean
for WELD's EnhancedListener
.
This also sets the "org.jboss.weld.environment.container.class" based on the type of the embedded
server.-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
A servlet-context init-param used by Weld, which can be used to force its initialization. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
customize
(org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory factory) Methods inherited from class org.joinfaces.servlet.ServletContainerInitializerRegistrationBean
findPreparedScanResult, getClasses, getPreparedScanResultPath, getServletContainerInitializerClass, handleScanResult, isUsePreparedScanResult, performClasspathScan, setUsePreparedScanResult
-
Field Details
-
CONTEXT_PARAM_ARCHIVE_ISOLATION
A servlet-context init-param used by Weld, which can be used to force its initialization.- See Also:
-
-
Constructor Details
-
WeldServletContainerInitializerRegistrationBean
public WeldServletContainerInitializerRegistrationBean()
-
-
Method Details
-
customize
public void customize(org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory factory) - Specified by:
customize
in interfaceorg.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory>
- Overrides:
customize
in classServletContainerInitializerRegistrationBean<EnhancedListener>
-