|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tomcat.core.BaseInterceptor
org.apache.tomcat.modules.mappers.ReloadInterceptor
This interceptor deals with context reloading. This should be "AT_END" - just after the context is mapped, it will determine if the context needs reload. This interceptor supports multiple forms of reloading. Configuration. Must be set after LoaderInterceptor
Field Summary |
Fields inherited from class org.apache.tomcat.core.BaseInterceptor |
cm, ct, ctx, debug, DECLINED, loghelper, OK |
Constructor Summary | |
ReloadInterceptor()
|
Method Summary | |
void |
addContext(ContextManager cm,
Context context)
Called when a context is added to a CM. |
void |
contextInit(Context context)
Example of adding web.xml to the dependencies. |
int |
contextMap(Request request)
Will detect the context path for a request. |
void |
engineInit(ContextManager cm)
Initialize the module. |
protected void |
loaderHook(DependManager dm,
Context context)
|
void |
reload(Request req,
Context context)
Reload notification - called whenever a reload is done. |
void |
setFullReload(boolean full)
A full reload will stop and start the context, without saving any state. |
Methods inherited from class org.apache.tomcat.core.BaseInterceptor |
addContainer, addHandler, addInterceptor, addSecurityConstraint, afterBody, authenticate, authorize, beforeBody, beforeCommit, contextShutdown, contextState, copyContext, engineShutdown, engineStart, engineState, engineStop, findSession, getContext, getContextManager, getDebug, getInfo, getLog, getNote, getNote, handleError, log, log, log, log, postInitCheck, postReadRequest, postRequest, postService, postServletDestroy, postServletInit, preInitCheck, preService, preServletDestroy, preServletInit, registerHooks, 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 |
Constructor Detail |
public ReloadInterceptor()
Method Detail |
public void engineInit(ContextManager cm) throws TomcatException
BaseInterceptor
engineInit
in class BaseInterceptor
TomcatException
- The module will not be added if any
exception is thrown by engineInit.public void setFullReload(boolean full)
public void addContext(ContextManager cm, Context context) throws TomcatException
BaseInterceptor
addContext
in class BaseInterceptor
TomcatException
public void contextInit(Context context) throws TomcatException
contextInit
in class BaseInterceptor
TomcatException
public void reload(Request req, Context context) throws TomcatException
BaseInterceptor
reload
in class BaseInterceptor
TomcatException
protected void loaderHook(DependManager dm, Context context)
public int contextMap(Request request)
BaseInterceptor
contextMap
in class BaseInterceptor
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |