|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Notifications for all context events. Example: expand WAR, move files in the right directories ( Apache ?), read web.xml or check for a serialized form for faster init, etc.
Method Summary | |
void |
addContainer(Container container)
A new location was added to the server. |
void |
addContext(ContextManager cm,
Context ctx)
Called when a context is added to a CM. |
void |
contextInit(Context ctx)
Notify when a context is initialized. |
void |
contextShutdown(Context ctx)
Called when a context is stoped, before removeContext. |
void |
engineInit(ContextManager cm)
Called when the ContextManger is started. |
void |
engineShutdown(ContextManager cm)
Called before the ContextManager is stoped. |
void |
postServletDestroy(Context ctx,
ServletWrapper sw)
|
void |
postServletInit(Context ctx,
ServletWrapper sw)
|
void |
preServletDestroy(Context ctx,
ServletWrapper sw)
Servlet Destroy notification |
void |
preServletInit(Context ctx,
ServletWrapper sw)
Servlet Init notification. |
void |
removeContainer(Container container)
A rule was removed, update the internal strucures. |
void |
removeContext(ContextManager cm,
Context ctx)
Called when a context is removed from a CM. |
Method Detail |
public void engineInit(ContextManager cm) throws TomcatException
public void engineShutdown(ContextManager cm) throws TomcatException
public void addContext(ContextManager cm, Context ctx) throws TomcatException
public void contextInit(Context ctx) throws TomcatException
public void contextShutdown(Context ctx) throws TomcatException
public void removeContext(ContextManager cm, Context ctx) throws TomcatException
public void addContainer(Container container) throws TomcatException
public void removeContainer(Container container) throws TomcatException
public void preServletInit(Context ctx, ServletWrapper sw) throws TomcatException
public void postServletInit(Context ctx, ServletWrapper sw) throws TomcatException
public void preServletDestroy(Context ctx, ServletWrapper sw) throws TomcatException
public void postServletDestroy(Context ctx, ServletWrapper sw) throws TomcatException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |