java.lang.Object
cloud.piranha.cdi.weld.WeldContainer
- All Implemented Interfaces:
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-
Constructor Details
-
WeldContainer
public WeldContainer()
-
-
Method Details
-
destroy
public void destroy(org.jboss.weld.environment.servlet.ContainerContext context)Destroy the container.- Specified by:
destroy
in interfaceorg.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 interfaceorg.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 ExceptionTouch the container.- Specified by:
touch
in interfaceorg.jboss.weld.environment.servlet.Container
- Parameters:
resourceLoader
- the resource loader.context
- the container context.- Returns:
- true
- Throws:
Exception
- when a serious error occurs.
-