public class ActionConfig
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ActionConfig.MethodParam |
| Modifier and Type | Field and Description |
|---|---|
java.lang.Class |
actionClass |
java.lang.reflect.Method |
actionClassMethod |
protected ActionConfigSet |
actionConfigSet |
java.lang.String |
actionMethod |
java.lang.String |
actionPath |
java.lang.Class<? extends ActionResult> |
actionResult |
boolean |
async |
ActionFilter[] |
filters |
boolean |
hasArguments |
ActionInterceptor[] |
interceptors |
ActionConfig.MethodParam[] |
methodParams |
java.lang.String |
resultBasePath |
java.lang.reflect.Field |
resultField |
ScopeData[][] |
scopeData |
| Constructor and Description |
|---|
ActionConfig(java.lang.Class actionClass,
java.lang.reflect.Method actionClassMethod,
ActionFilter[] filters,
ActionInterceptor[] interceptors,
ActionDef actionDef,
java.lang.Class<? extends ActionResult> actionResult,
boolean async,
ScopeData[][] scopeData,
ActionConfig.MethodParam[] methodParams) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.reflect.Field |
findResultField(java.lang.Class actionClass)
Finds result field in the action class.
|
java.lang.Class |
getActionClass()
Returns action class.
|
java.lang.reflect.Method |
getActionClassMethod()
Returns action class method.
|
ActionConfigSet |
getActionConfigSet() |
java.lang.String |
getActionMethod()
Returns action method.
|
java.lang.String |
getActionPath()
Returns action path.
|
java.lang.Class<? extends ActionResult> |
getActionResult()
Returns action result class that will render the result.
|
java.lang.String |
getActionString()
Returns action string in form 'actionClass#actionMethod'.
|
ActionInterceptor[] |
getInterceptors()
Returns interceptor instances.
|
ActionConfig.MethodParam[] |
getMethodParams()
Returns method parameters information, or
null if method has no params. |
java.lang.String |
getResultBasePath()
Returns action result base path.
|
boolean |
isAsync()
Returns
true if action is asynchronous. |
java.lang.String |
toString() |
public final java.lang.Class actionClass
public final java.lang.reflect.Method actionClassMethod
public final java.lang.Class<? extends ActionResult> actionResult
public final java.lang.String actionPath
public final java.lang.String actionMethod
public final java.lang.String resultBasePath
public final java.lang.reflect.Field resultField
public final boolean async
public final ScopeData[][] scopeData
public final ActionConfig.MethodParam[] methodParams
public final boolean hasArguments
protected ActionConfigSet actionConfigSet
public final ActionFilter[] filters
public final ActionInterceptor[] interceptors
public ActionConfig(java.lang.Class actionClass,
java.lang.reflect.Method actionClassMethod,
ActionFilter[] filters,
ActionInterceptor[] interceptors,
ActionDef actionDef,
java.lang.Class<? extends ActionResult> actionResult,
boolean async,
ScopeData[][] scopeData,
ActionConfig.MethodParam[] methodParams)
protected java.lang.reflect.Field findResultField(java.lang.Class actionClass)
public java.lang.Class getActionClass()
public java.lang.reflect.Method getActionClassMethod()
public java.lang.String getActionPath()
public java.lang.String getActionMethod()
public java.lang.String getResultBasePath()
public ActionInterceptor[] getInterceptors()
public boolean isAsync()
true if action is asynchronous.public ActionConfigSet getActionConfigSet()
public ActionConfig.MethodParam[] getMethodParams()
null if method has no params.public java.lang.Class<? extends ActionResult> getActionResult()
null.public java.lang.String getActionString()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2003-2013 Jodd Team