org.jboss.weld.environment
Class AbstractContainer
java.lang.Object
org.jboss.weld.environment.AbstractContainer
- All Implemented Interfaces:
- Container
- Direct Known Subclasses:
- AbstractJettyContainer, Tomcat6Container, Tomcat7Container
public abstract class AbstractContainer
- extends Object
- implements Container
Abstract container.
- Author:
- Ales Justin
Field Summary |
protected org.slf4j.Logger |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.slf4j.Logger log
AbstractContainer
public AbstractContainer()
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(ContainerContext context)
throws Exception
- Description copied from interface:
Container
- Touch if this container can be used.
We should throw an exception if it cannot be used.
- Specified by:
touch
in interface Container
- Parameters:
context
- the container context
- Returns:
- true if touch was successful, false or exception otherwise
- Throws:
Exception
- for any error
destroy
public void destroy(ContainerContext context)
- Description copied from interface:
Container
- Destroy setup.
- Specified by:
destroy
in interface Container
- Parameters:
context
- the container context
Copyright © 2013 Seam Framework. All Rights Reserved.