Class WeldContainer

java.lang.Object
cloud.piranha.cdi.weld.WeldContainer
All Implemented Interfaces:
org.jboss.weld.environment.servlet.Container

public class WeldContainer
extends java.lang.Object
implements org.jboss.weld.environment.servlet.Container
The Weld container.
Author:
Manfred Riem ([email protected])
  • Field Summary

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

    CONTEXT_PARAM_CONTAINER_CLASS
  • Constructor Summary

    Constructors 
    Constructor Description
    WeldContainer()  
  • Method Summary

    Modifier and Type Method Description
    void destroy​(org.jboss.weld.environment.servlet.ContainerContext context)
    Destroy the container.
    void initialize​(org.jboss.weld.environment.servlet.ContainerContext context)
    Initialize the container.
    boolean touch​(org.jboss.weld.resources.spi.ResourceLoader resourceLoader, org.jboss.weld.environment.servlet.ContainerContext context)
    Touch the container.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • 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 java.lang.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:
      java.lang.Exception - when a serious error occurs.