Package org.joinfaces.weld
Class WeldServletContainerInitializerRegistrationBean
java.lang.Object
org.joinfaces.servlet.ServletContainerInitializerRegistrationBean<org.jboss.weld.environment.servlet.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<org.jboss.weld.environment.servlet.EnhancedListener>
ServletContainerInitializerRegistrationBean
for WELD's EnhancedListener
.
This also sets the "org.jboss.weld.environment.container.class" based on the type of the embedded
server.-
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, getServletContainerInitializerClass, handleScanResult, isUsePreparedScanResult, performClasspathScan, setUsePreparedScanResult
-
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<org.jboss.weld.environment.servlet.EnhancedListener>
-