Class AbstractContainer

    • Constructor Detail

      • AbstractContainer

        public AbstractContainer()
    • Method Detail

      • classToCheck

        protected abstract String classToCheck()
        Get class name to check is we can use this container.
        Returns:
        the class name to check
      • touch

        public boolean touch​(org.jboss.weld.resources.spi.ResourceLoader resourceLoader,
                             ContainerContext context)
                      throws Exception
        Description copied from interface: Container
        Touch if this container can be used. We should throw an exception if it cannot be used.
        Specified by:
        touch in interface Container
        Parameters:
        resourceLoader - the ResourceLoader to use for class-availability testing
        context - the container context
        Returns:
        true if touch was successful, false or exception otherwise
        Throws:
        Exception - for any error
      • destroy

        public void destroy​(ContainerContext context)
        Description copied from interface: Container
        Destroy setup.
        Specified by:
        destroy in interface Container
        Parameters:
        context - the container context