|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines a command pattern which will be executed at the time of workflow termination.
This is the way how you would implement a cleanup action in one of your struts action classes.
public static class Cleanup implements WorkflowCleanup
{
public void cleanup(HttpServletRequest request)
{
// do some cleanup task
}
}
WorkflowContainer.get(request.getSession()).getPrimary().addCleanupObject(
"cleanup1", new Cleanup());
Method Summary | |
void |
cleanup(javax.servlet.http.HttpServletRequest request)
Do what you want to do at workflow termination |
Method Detail |
public void cleanup(javax.servlet.http.HttpServletRequest request)
request
- The servlet request we are processing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |