Class AbstractContainer
- java.lang.Object
-
- org.jboss.weld.environment.servlet.AbstractContainer
-
- All Implemented Interfaces:
Container
- Direct Known Subclasses:
AbstractJettyContainer,TomcatContainer
public abstract class AbstractContainer extends Object implements Container
Abstract container.- Author:
- Ales Justin
-
-
Field Summary
-
Fields inherited from interface org.jboss.weld.environment.servlet.Container
CONTEXT_PARAM_CONTAINER_CLASS
-
-
Constructor Summary
Constructors Constructor Description AbstractContainer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract StringclassToCheck()Get class name to check is we can use this container.voiddestroy(ContainerContext context)Destroy setup.booleantouch(org.jboss.weld.resources.spi.ResourceLoader resourceLoader, ContainerContext context)Touch if this container can be used.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.weld.environment.servlet.Container
initialize
-
-
-
-
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 ExceptionDescription copied from interface:ContainerTouch if this container can be used. We should throw an exception if it cannot be used.
-
destroy
public void destroy(ContainerContext context)
Description copied from interface:ContainerDestroy setup.
-
-