org.apache.tomcat.modules.config
Class ContextXmlReader
java.lang.Object
|
+--org.apache.tomcat.core.BaseInterceptor
|
+--org.apache.tomcat.modules.config.ContextXmlReader
- public class ContextXmlReader
- extends BaseInterceptor
This is a configuration module that will read context configuration files,
including server.xml, and configure the server by adding the contexts.
- Author:
- Costin Manolache
Methods inherited from class org.apache.tomcat.core.BaseInterceptor |
addContainer, addContext, addHandler, addInterceptor, addSecurityConstraint, afterBody, authenticate, authorize, beforeBody, beforeCommit, contextInit, contextMap, contextShutdown, contextState, engineShutdown, engineStart, engineState, engineStop, findSession, getContext, getContextManager, getDebug, getInfo, getLog, getNote, getNote, handleError, log, log, log, log, postReadRequest, postRequest, postService, postServletDestroy, postServletInit, preService, preServletDestroy, preServletInit, registerHooks, reload, removeContainer, removeContext, removeHandler, removeInterceptor, requestMap, sessionState, setContext, setContextManager, setDebug, setInfo, setNote, setNote |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextXmlReader
public ContextXmlReader()
setConfig
public void setConfig(java.lang.String s)
setHome
public void setHome(java.lang.String h)
engineInit
public void engineInit(ContextManager cm)
throws TomcatException
- Description copied from class:
BaseInterceptor
- Initialize the module.
- Overrides:
engineInit
in class BaseInterceptor
- Following copied from class:
org.apache.tomcat.core.BaseInterceptor
- Throws:
TomcatException
- The module will not be added if any
exception is thrown by engineInit.
setPropertiesRules
public static void setPropertiesRules(ContextManager cm,
XmlMapper xh)
throws TomcatException
setContextRules
public static void setContextRules(XmlMapper xh)
addTagRules
public void addTagRules(ContextManager cm,
XmlMapper xh)
throws TomcatException
Copyright © 2001 Apache Software Foundation. All Rights Reserved.