Interface Container

All Known Implementing Classes:
AbstractContainer, AbstractJettyContainer, JettyContainer, TomcatContainer, UndertowContainer

public interface Container
Abstract the web container setup notion. e.g. Tomcat, Jetty, GAE, ...
Author:
Ales Justin
  • Field Details

  • Method Details

    • touch

      boolean touch(org.jboss.weld.resources.spi.ResourceLoader resourceLoader, ContainerContext context) throws Exception
      Touch if this container can be used. We should throw an exception if it cannot be used.
      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
    • initialize

      void initialize(ContainerContext context)
      Initialize web container.
      Parameters:
      context - the container context
    • destroy

      void destroy(ContainerContext context)
      Destroy setup.
      Parameters:
      context - the container context