|
||||||||||
| 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 ActionProxys to be executed.
ActionProxy to execute
for a particular namespace and action name.
DefaultActionProxyFactory| Method Summary | |
|---|---|
ActionProxy |
createActionProxy(ActionInvocation inv,
String namespace,
String actionName,
Map extraContext,
boolean executeResult,
boolean cleanupContext)
|
ActionProxy |
createActionProxy(String namespace,
String actionName,
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,
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)
throws Exception
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
Exception - can be thrown
ActionProxy createActionProxy(String namespace,
String actionName,
Map extraContext,
boolean executeResult,
boolean cleanupContext)
throws Exception
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.
Exception - can be thrown
ActionProxy createActionProxy(ActionInvocation inv,
String namespace,
String actionName,
Map extraContext,
boolean executeResult,
boolean cleanupContext)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||