|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork.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,
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,
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(String namespace,
String actionName,
Map extraContext)
Creates an ActionProxy for the given namespace and action name by looking up the configuration. |
abstract 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. |
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, Map extraContext) throws Exception
actionProxy
- extraContext
-
Exception
public abstract ActionInvocation createActionInvocation(ActionProxy actionProxy) throws Exception
actionProxy
-
Exception
public abstract ActionInvocation createActionInvocation(ActionProxy actionProxy, Map extraContext, boolean pushAction) throws Exception
actionProxy
- extraContext
- pushAction
- tells whether the Action should be pushed onto the ValueStack
Exception
public abstract ActionProxy createActionProxy(String namespace, String actionName, Map extraContext) throws Exception
namespace
- the namespace of the actionactionName
- extraContext
- a Map of extra parameters to be provided to the ActionProxy
Exception
public abstract ActionProxy createActionProxy(String namespace, String actionName, Map extraContext, boolean executeResult, boolean cleanupContext) throws 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
-
Exception
|
XWork Project Page | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |