|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LifecycleManager
Manages operations that must be performed on startup and shutdown of the application. These operations will typically be implemented as plugin modules. Important: There is no real way the application can guarantee that any of the shutdown tasks will be called in the event of an unfriendly server shutdown. They are mostly useful for cleanup in situations (like an appserver-triggered reload) where it can be assumed that the application will have the time to run the shutdown cleanly.
Method Summary | |
---|---|
void |
shutDown(javax.servlet.ServletContext servletContext)
Perform all the shutdown tasks for the application. |
void |
startUp(javax.servlet.ServletContext servletContext)
Perform all the startup tasks for the application. |
Method Detail |
---|
void startUp(javax.servlet.ServletContext servletContext)
servletContext
- the web application servlet contextvoid shutDown(javax.servlet.ServletContext servletContext)
servletContext
- the web application servlet context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |