Class WeldServletLifecycle

    • Field Detail

      • BEAN_MANAGER_ATTRIBUTE_NAME

        public static final String BEAN_MANAGER_ATTRIBUTE_NAME
    • Method Detail

      • 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