|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActionProxyFactory
The ActionProxyFactory
is used to create ActionProxy
s to be executed.
ActionProxy
to execute
for a particular namespace and action name.
DefaultActionProxyFactory
Method Summary | |
---|---|
ActionProxy |
createActionProxy(ActionInvocation actionInvocation,
String namespace,
String actionName,
String methodName,
boolean executeResult,
boolean cleanupContext)
Creates an ActionProxy for the given namespace and action name by looking up the configuration.The ActionProxy
should be fully initialized when it is returned, including passed ActionInvocation instance. |
ActionProxy |
createActionProxy(String namespace,
String actionName,
Map extraContext)
Deprecated. Since 2.1.1, use instead |
ActionProxy |
createActionProxy(String namespace,
String actionName,
Map extraContext,
boolean executeResult,
boolean cleanupContext)
Deprecated. Since 2.1.1, use createActionProxy(String,String,String,Map,boolean,boolean) instead |
ActionProxy |
createActionProxy(String namespace,
String actionName,
String methodName,
Map extraContext)
Creates an ActionProxy for the given namespace and action name by looking up the configuration.The ActionProxy
should be fully initialized when it is returned, including having an ActionInvocation instance associated. |
ActionProxy |
createActionProxy(String namespace,
String actionName,
String methodName,
Map extraContext,
boolean executeResult,
boolean cleanupContext)
Creates an ActionProxy for the given namespace and action name by looking up the configuration.The ActionProxy
should be fully initialized when it is returned, including having an ActionInvocation instance associated. |
Method Detail |
---|
ActionProxy createActionProxy(String namespace, String actionName, Map extraContext)
instead
ActionProxy
for the given namespace and action name by looking up the configuration.The ActionProxy
should be fully initialized when it is returned, including having an ActionInvocation
instance associated.
Note: This is the most used create method.
namespace
- the namespace of the action, can be nullactionName
- the name of the actionextraContext
- a Map of extra parameters to be provided to the ActionProxy, can be null
ActionProxy createActionProxy(String namespace, String actionName, String methodName, Map extraContext)
ActionProxy
for the given namespace and action name by looking up the configuration.The ActionProxy
should be fully initialized when it is returned, including having an ActionInvocation
instance associated.
Note: This is the most used create method.
namespace
- the namespace of the action, can be nullactionName
- the name of the actionmethodName
- the name of the method to executeextraContext
- a Map of extra parameters to be provided to the ActionProxy, can be null
ActionProxy createActionProxy(String namespace, String actionName, Map extraContext, boolean executeResult, boolean cleanupContext)
createActionProxy(String,String,String,Map,boolean,boolean)
instead
ActionProxy
for the given namespace and action name by looking up the configuration.The ActionProxy
should be fully initialized when it is returned, including having an ActionInvocation
instance associated.
namespace
- the namespace of the action, can be nullactionName
- the name of the actionextraContext
- a Map of extra parameters to be provided to the ActionProxy, can be nullexecuteResult
- flag which tells whether the result should be executed after the actioncleanupContext
- flag which tells whether the original context should be preserved during execution of the proxy.
ActionProxy createActionProxy(String namespace, String actionName, String methodName, Map extraContext, boolean executeResult, boolean cleanupContext)
ActionProxy
for the given namespace and action name by looking up the configuration.The ActionProxy
should be fully initialized when it is returned, including having an ActionInvocation
instance associated.
namespace
- the namespace of the action, can be nullactionName
- the name of the actionmethodName
- the name of the method to executeextraContext
- a Map of extra parameters to be provided to the ActionProxy, can be nullexecuteResult
- flag which tells whether the result should be executed after the actioncleanupContext
- flag which tells whether the original context should be preserved during execution of the proxy.
ActionProxy createActionProxy(ActionInvocation actionInvocation, String namespace, String actionName, String methodName, boolean executeResult, boolean cleanupContext)
ActionProxy
for the given namespace and action name by looking up the configuration.The ActionProxy
should be fully initialized when it is returned, including passed ActionInvocation
instance.
actionInvocation
- the action invocation instance to associate withnamespace
- the namespace of the action, can be nullactionName
- the name of the actionmethodName
- the name of the method to executeexecuteResult
- flag which tells whether the result should be executed after the actioncleanupContext
- flag which tells whether the original context should be preserved during execution of the proxy.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |