|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork.ActionProxyFactory
public abstract class ActionProxyFactory
The ActionProxyFactory is used to create ActionProxies to be executed. It is the entry point to XWork that is used by a dispatcher to create an ActionProxy to execute for a particular namespace and action name.
DefaultActionProxyFactory| Constructor Summary | |
|---|---|
ActionProxyFactory()
|
|
| Method Summary | |
|---|---|
abstract ActionInvocation |
createActionInvocation(ActionProxy actionProxy)
Used by an ActionProxy or ActionProxyFactory to create an ActionInvocation to associate with an ActionProxy as part of creating an ActionProxy. |
abstract ActionInvocation |
createActionInvocation(ActionProxy actionProxy,
java.util.Map extraContext)
Used by an ActionProxy or ActionProxyFactory to create an ActionInvocation to associate with an ActionProxy as part of creating an ActionProxy. |
abstract ActionInvocation |
createActionInvocation(ActionProxy actionProxy,
java.util.Map extraContext,
boolean pushAction)
Used by an ActionProxy or ActionProxyFactory to create an ActionInvocation to associate with an ActionProxy as part of creating an ActionProxy. |
abstract ActionProxy |
createActionProxy(java.lang.String namespace,
java.lang.String actionName,
java.util.Map extraContext)
Creates an ActionProxy for the given namespace and action name by looking up the configuration. |
abstract ActionProxy |
createActionProxy(java.lang.String namespace,
java.lang.String actionName,
java.util.Map extraContext,
boolean executeResult,
boolean cleanupContext)
Creates an ActionProxy for the given namespace and action name by looking up the configuration. |
static ActionProxyFactory |
getFactory()
|
static void |
setFactory(ActionProxyFactory factory)
Set the ActionProxyFactory implementation to use. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActionProxyFactory()
| Method Detail |
|---|
public static void setFactory(ActionProxyFactory factory)
factory - public static ActionProxyFactory getFactory()
public abstract ActionInvocation createActionInvocation(ActionProxy actionProxy,
java.util.Map extraContext)
throws java.lang.Exception
actionProxy - extraContext -
java.lang.Exception
public abstract ActionInvocation createActionInvocation(ActionProxy actionProxy)
throws java.lang.Exception
actionProxy -
java.lang.Exception
public abstract ActionInvocation createActionInvocation(ActionProxy actionProxy,
java.util.Map extraContext,
boolean pushAction)
throws java.lang.Exception
actionProxy - extraContext - pushAction - tells whether the Action should be pushed onto the ValueStack
java.lang.Exception
public abstract ActionProxy createActionProxy(java.lang.String namespace,
java.lang.String actionName,
java.util.Map extraContext)
throws java.lang.Exception
namespace - the namespace of the actionactionName - extraContext - a Map of extra parameters to be provided to the ActionProxy
java.lang.Exception
public abstract ActionProxy createActionProxy(java.lang.String namespace,
java.lang.String actionName,
java.util.Map extraContext,
boolean executeResult,
boolean cleanupContext)
throws java.lang.Exception
namespace - the namespace of the actionactionName - extraContext - a Map of extra parameters to be provided to the ActionProxyexecuteResult - flag which tells whether the result should be executed after the actioncleanupContext -
java.lang.Exception
|
XWork Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||