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 Details

    • CONTEXT_PARAM_ARCHIVE_ISOLATION

      public static final String 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 interface org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory>
      Overrides:
      customize in class ServletContainerInitializerRegistrationBean<EnhancedListener>