Class AbstractContainer
java.lang.Object
org.jboss.weld.environment.servlet.AbstractContainer
- All Implemented Interfaces:
Container
- Direct Known Subclasses:
AbstractJettyContainer,TomcatContainer
Abstract container.
- Author:
- Ales Justin
-
Field Summary
Fields inherited from interface org.jboss.weld.environment.servlet.Container
CONTEXT_PARAM_CONTAINER_CLASS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract StringGet 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, waitMethods inherited from interface org.jboss.weld.environment.servlet.Container
initialize
-
Constructor Details
-
AbstractContainer
public AbstractContainer()
-
-
Method Details
-
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:ContainerTouch if this container can be used. We should throw an exception if it cannot be used. -
destroy
Description copied from interface:ContainerDestroy setup.
-