Class TomcatContainer
- java.lang.Object
-
- org.jboss.weld.environment.servlet.AbstractContainer
-
- org.jboss.weld.environment.tomcat.TomcatContainer
-
- All Implemented Interfaces:
Container
public class TomcatContainer extends AbstractContainer
Tomcat 7.x and 8.x container.- Author:
- Ales Justin
-
-
Field Summary
Fields Modifier and Type Field Description static ContainerINSTANCE-
Fields inherited from interface org.jboss.weld.environment.servlet.Container
CONTEXT_PARAM_CONTAINER_CLASS
-
-
Constructor Summary
Constructors Constructor Description TomcatContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringclassToCheck()Get class name to check is we can use this container.voidinitialize(ContainerContext context)Initialize web container.-
Methods inherited from class org.jboss.weld.environment.servlet.AbstractContainer
destroy, touch
-
-
-
-
Field Detail
-
INSTANCE
public static final Container INSTANCE
-
-
Method Detail
-
classToCheck
protected String classToCheck()
Description copied from class:AbstractContainerGet class name to check is we can use this container.- Specified by:
classToCheckin classAbstractContainer- Returns:
- the class name to check
-
initialize
public void initialize(ContainerContext context)
Description copied from interface:ContainerInitialize web container.- Parameters:
context- the container context
-
-