Class WeldContainer

  • All Implemented Interfaces:
    org.jboss.weld.environment.servlet.Container

    public class WeldContainer
    extends Object
    implements org.jboss.weld.environment.servlet.Container
    The Weld container.
    Author:
    Manfred Riem (mriem@manorrock.com)
    • Field Summary

      • Fields inherited from interface org.jboss.weld.environment.servlet.Container

        CONTEXT_PARAM_CONTAINER_CLASS
    • Constructor Summary

      Constructors 
      Constructor Description
      WeldContainer()  
    • Constructor Detail

      • WeldContainer

        public WeldContainer()
    • Method Detail

      • destroy

        public void destroy​(org.jboss.weld.environment.servlet.ContainerContext context)
        Destroy the container.
        Specified by:
        destroy in interface org.jboss.weld.environment.servlet.Container
        Parameters:
        context - the container context.
      • initialize

        public void initialize​(org.jboss.weld.environment.servlet.ContainerContext context)
        Initialize the container.
        Specified by:
        initialize in interface org.jboss.weld.environment.servlet.Container
        Parameters:
        context - the container context.
      • touch

        public boolean touch​(org.jboss.weld.resources.spi.ResourceLoader resourceLoader,
                             org.jboss.weld.environment.servlet.ContainerContext context)
                      throws Exception
        Touch the container.
        Specified by:
        touch in interface org.jboss.weld.environment.servlet.Container
        Parameters:
        resourceLoader - the resource loader.
        context - the container context.
        Returns:
        true
        Throws:
        Exception - when a serious error occurs.