|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.action.Action
org.strutsit.architecture.struts.StrutsitActionBase
org.struts.velocity.demo.context.PrepareContext
Example of a pre-processed action in case of using the struts-it architecture framework. This pre-processed action creates a Hibernate session for this thread.
Responsibilities:
Field Summary | |
(package private) static java.lang.String |
nothing
|
Fields inherited from class org.apache.struts.action.Action |
defaultLocale, servlet |
Constructor Summary | |
PrepareContext()
|
Method Summary | |
boolean |
execute(org.strutsit.architecture.context.StrutsitContext context)
Execute-Methods for Struts-It Actions. |
java.lang.String |
getUseCase()
Gets the corresponded use case for this action. |
Methods inherited from class org.strutsit.architecture.struts.StrutsitActionBase |
getService, getService, setFailure, setInput, setSucceeded |
Methods inherited from class org.apache.struts.action.Action |
addErrors, addMessages, execute, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final java.lang.String nothing
Constructor Detail |
public PrepareContext()
Method Detail |
public boolean execute(org.strutsit.architecture.context.StrutsitContext context) throws java.lang.Exception
execute
in interface org.strutsit.architecture.struts.StrutsitAction
context
- The Context for this usecase
java.lang.Exception
public java.lang.String getUseCase()
getUseCase
in interface org.strutsit.architecture.struts.StrutsitAction
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |