|
Arquillian Container Tomcat Embedded 6.x 1.0.0.CR3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.catalina.startup.ContextConfig
org.jboss.arquillian.container.tomcat.embedded_6.EmbeddedContextConfig
public class EmbeddedContextConfig
A custom ContextConfig for use in the Embedded Tomcat
container integration for Arquillian.
This configuration adds processing of the META-INF/context.xml descriptor in the web application root when the context is started. This implementation also marks an unpacked WAR for deletion when the context is stopped.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.catalina.startup.ContextConfig |
|---|
org.apache.catalina.startup.ContextConfig.ContextErrorHandler |
| Field Summary |
|---|
| Fields inherited from class org.apache.catalina.startup.ContextConfig |
|---|
authenticators, context, contextDigester, customAuthenticators, defaultContextXml, defaultWebXml, deploymentCount, DUMMY_LOGIN_CONFIG, log, ok, originalDocBase, parseException, sm, webDigester, webRuleSet, xmlNamespaceAware, xmlValidation |
| Constructor Summary | |
|---|---|
EmbeddedContextConfig()
|
|
| Method Summary | |
|---|---|
protected void |
applicationContextConfig()
Process the META-INF/context.xml descriptor in the web application root. |
protected void |
defaultWebConfig()
Override as a hook to process the application context configuration. |
protected void |
fixDocBase()
Overridde to assign an internal field that will trigger the removal of the unpacked WAR when the context is closed. |
| Methods inherited from class org.apache.catalina.startup.ContextConfig |
|---|
antiLocking, applicationAnnotationsConfig, applicationWebConfig, authenticatorConfig, beforeStart, contextConfig, createContextDigester, createWebDigester, createWebXmlDigester, destroy, getBaseDir, getConfigBase, getDefaultContextXml, getDefaultWebXml, getHostConfigPath, init, lifecycleEvent, processContextConfig, processDefaultWebConfig, setCustomAuthenticators, setDefaultContextXml, setDefaultWebXml, start, stop, validateSecurityRoles |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmbeddedContextConfig()
| Method Detail |
|---|
protected void defaultWebConfig()
defaultWebConfig in class org.apache.catalina.startup.ContextConfigprotected void applicationContextConfig()
protected void fixDocBase()
throws IOException
fixDocBase in class org.apache.catalina.startup.ContextConfigIOException
|
Arquillian Container Tomcat Embedded 6.x 1.0.0.CR3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||