|
Anyframe Web | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.action.Action
org.springframework.web.struts.ActionSupport
anyframe.web.struts.action.ria.mip.AnyframeMiPAction
anyframe.web.struts.action.ria.mip.AnyframeMiPDispatchAction
public class AnyframeMiPDispatchAction
Abstract Dispatch Action Class which provide token, exception, error logging, pre/post execution features
| Field Summary | |
|---|---|
protected java.lang.Class |
clazz
The Class instance of this DispatchAction class. |
org.apache.commons.logging.Log |
log
|
protected static org.apache.struts.util.MessageResources |
messages
The message resources for this package. |
protected java.util.HashMap |
methods
The set of Method objects we have introspected for this class, keyed by method name. |
protected java.lang.Class[] |
types
The set of Method objects we have introspected for this class, keyed by method name. |
| Fields inherited from class anyframe.web.struts.action.ria.mip.AnyframeMiPAction |
|---|
default_charset, default_encode_method |
| Fields inherited from class org.apache.struts.action.Action |
|---|
servlet |
| Constructor Summary | |
|---|---|
AnyframeMiPDispatchAction()
|
|
| Method Summary | |
|---|---|
protected void |
dispatchMethod(org.apache.struts.action.ActionMapping mapping,
com.tobesoft.platform.PlatformRequest request,
java.lang.String name,
com.tobesoft.platform.data.VariableList inVl,
com.tobesoft.platform.data.DatasetList inDl,
com.tobesoft.platform.data.VariableList outVl,
com.tobesoft.platform.data.DatasetList outDl)
Dispatch to the specified method. |
org.apache.commons.logging.Log |
getLogger()
get Logger |
protected java.lang.reflect.Method |
getMethod(java.lang.String name)
Introspect the current class to identify a method of the specified name that accepts the same parameter types as the execute
method does. |
protected java.lang.String |
getMethodName(org.apache.struts.action.ActionMapping mapping,
com.tobesoft.platform.data.VariableList in_vl,
java.lang.String parameter)
Returns the method name, given a parameter's value. |
protected void |
onInit()
get Logger |
org.apache.struts.action.ActionForward |
process(org.apache.struts.action.ActionMapping arg0,
org.apache.struts.action.ActionForm arg1,
javax.servlet.http.HttpServletRequest arg2,
javax.servlet.http.HttpServletResponse arg3)
|
void |
process(org.apache.struts.action.ActionMapping mapping,
com.tobesoft.platform.PlatformRequest request,
com.tobesoft.platform.data.VariableList inVl,
com.tobesoft.platform.data.DatasetList inDl,
com.tobesoft.platform.data.VariableList outVl,
com.tobesoft.platform.data.DatasetList outDl)
Process the specified HTTP request, and create the corresponding HTTP response (or forward to another web component that will create it). |
protected org.apache.struts.action.ActionForward |
unspecified(org.apache.struts.action.ActionMapping mapping,
com.tobesoft.platform.PlatformRequest request)
Method which is dispatched to when there is no value for specified request parameter included in the request. |
| Methods inherited from class anyframe.web.struts.action.ria.mip.AnyframeMiPAction |
|---|
convertDatasetToListMap, convertDatasetToListMap, convertVoListToDataset, convertVoToDataset, execute, getService, postProcess, preProcess, processCheckedException, processFinally, processUnCheckedException, setResultMessage |
| Methods inherited from class org.springframework.web.struts.ActionSupport |
|---|
getMessageSourceAccessor, getServletContext, getTempDir, getWebApplicationContext, initWebApplicationContext, onDestroy, setServlet |
| Methods inherited from class org.apache.struts.action.Action |
|---|
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.Class clazz
DispatchAction class.
protected static org.apache.struts.util.MessageResources messages
public org.apache.commons.logging.Log log
protected java.util.HashMap methods
protected java.lang.Class[] types
| Constructor Detail |
|---|
public AnyframeMiPDispatchAction()
| Method Detail |
|---|
protected void onInit()
onInit in class AnyframeMiPAction
public void process(org.apache.struts.action.ActionMapping mapping,
com.tobesoft.platform.PlatformRequest request,
com.tobesoft.platform.data.VariableList inVl,
com.tobesoft.platform.data.DatasetList inDl,
com.tobesoft.platform.data.VariableList outVl,
com.tobesoft.platform.data.DatasetList outDl)
throws java.lang.Exception
ActionForward instance describing where and how
control should be forwarded, or null if the response has
already been completed.
process in class AnyframeMiPActionmapping - The ActionMapping used to select this instancerequest - The Platform request we are processinginVl - a input VariableListinDl - a input DatasetoutVl - a output VariableListoutDl - a output Dataset
java.lang.Exception - if an exception occurs
protected java.lang.String getMethodName(org.apache.struts.action.ActionMapping mapping,
com.tobesoft.platform.data.VariableList in_vl,
java.lang.String parameter)
throws java.lang.Exception
mapping - The ActionMapping used to select this instancein_vl - parameter -
java.lang.Exception
protected void dispatchMethod(org.apache.struts.action.ActionMapping mapping,
com.tobesoft.platform.PlatformRequest request,
java.lang.String name,
com.tobesoft.platform.data.VariableList inVl,
com.tobesoft.platform.data.DatasetList inDl,
com.tobesoft.platform.data.VariableList outVl,
com.tobesoft.platform.data.DatasetList outDl)
throws java.lang.Exception
java.lang.Exception
protected org.apache.struts.action.ActionForward unspecified(org.apache.struts.action.ActionMapping mapping,
com.tobesoft.platform.PlatformRequest request)
throws java.lang.Exception
DispatchAction should override this method if they wish to
provide default behavior different than throwing a ServletException.
java.lang.Exception
protected java.lang.reflect.Method getMethod(java.lang.String name)
throws java.lang.NoSuchMethodException
execute
method does.
name - Name of the method to be introspected
java.lang.NoSuchMethodException - if no such method can be foundpublic org.apache.commons.logging.Log getLogger()
getLogger in class AnyframeMiPAction
public org.apache.struts.action.ActionForward process(org.apache.struts.action.ActionMapping arg0,
org.apache.struts.action.ActionForm arg1,
javax.servlet.http.HttpServletRequest arg2,
javax.servlet.http.HttpServletResponse arg3)
throws java.lang.Exception
java.lang.Exception
|
Anyframe Web | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||