Class WeldServletLifecycle

java.lang.Object
org.jboss.weld.environment.servlet.WeldServletLifecycle

public class WeldServletLifecycle extends Object
Author:
Martin Kouba
See Also:
  • Field Details

    • BEAN_MANAGER_ATTRIBUTE_NAME

      public static final String BEAN_MANAGER_ATTRIBUTE_NAME
  • Method Details

    • createDeployment

      protected org.jboss.weld.bootstrap.spi.CDI11Deployment createDeployment(jakarta.servlet.ServletContext context, org.jboss.weld.bootstrap.api.CDI11Bootstrap bootstrap)
      Create servlet deployment. Can be overridden with custom servlet deployment. e.g. exact resources listing in restricted env like GAE
      Parameters:
      context - the servlet context
      bootstrap - the bootstrap
      Returns:
      new servlet deployment
    • findContainer

      protected Container findContainer(ContainerContext ctx, StringBuilder dump)
      Find container env.
      Parameters:
      ctx - the container context
      dump - the exception dump
      Returns:
      valid container or null
    • checkContainers

      protected Container checkContainers(ContainerContext containerContext, StringBuilder dump, Iterable<Container> containers)