| java.lang.Object com.opensymphony.xwork.util.location.Located com.opensymphony.xwork.config.entities.ActionConfig
ActionConfig | public class ActionConfig extends Located implements InterceptorListHolder,Parameterizable,Serializable(Code) | | Contains everything needed to configure and execute an action:
- methodName - the method name to execute on the action. If this is null, the Action will be cast to the Action
Interface and the execute() method called
- clazz - the class name for the action
- params - the params to be set for this action just before execution
- results - the result map {String -> View class}
- resultParameters - params for results {String -> Map}
- typeConverter - the Ognl TypeConverter to use when getting/setting properties
author: Mike author: Rainer Hermanns version: $Revision: 1531 $ |
Constructor Summary | |
public | ActionConfig() | public | ActionConfig(String methodName, Class clazz, Map parameters, Map results, List interceptors) | public | ActionConfig(String methodName, Class clazz, Map parameters, Map results, List interceptors, List exceptionMappings) | public | ActionConfig(String methodName, String className, Map parameters, Map results, List interceptors) | public | ActionConfig(String methodName, String className, Map parameters, Map results, List interceptors, List exceptionMappings) | public | ActionConfig(String methodName, String className, Map parameters, Map results, List interceptors, List externalRefs, String packageName) | public | ActionConfig(String methodName, String className, Map parameters, Map results, List interceptors, List externalRefs, List exceptionMappings, String packageName) |
exceptionMappings | protected List exceptionMappings(Code) | | |
ActionConfig | public ActionConfig()(Code) | | |
addExceptionMappings | public void addExceptionMappings(List exceptionMappings)(Code) | | |
addExternalRefs | public void addExternalRefs(List externalRefs)(Code) | | |
addInterceptors | public void addInterceptors(List interceptors)(Code) | | |
getExceptionMappings | public List getExceptionMappings()(Code) | | |
getExternalRefs | public List getExternalRefs()(Code) | | |
getInterceptors | public List getInterceptors()(Code) | | |
getMethodName | public String getMethodName()(Code) | | Returns name of the action method
name of the method to execute |
getPackageName | public String getPackageName()(Code) | | Returns the packageName. |
hashCode | public int hashCode()(Code) | | |
setClassName | public void setClassName(String className)(Code) | | |
setMethodName | public void setMethodName(String methodName)(Code) | | |
setPackageName | public void setPackageName(String packageName)(Code) | | Parameters: packageName - The packageName to set. |
setParams | public void setParams(Map params)(Code) | | |
setResults | public void setResults(Map results)(Code) | | |
|
|