org.apache.struts2.rest
Class RestActionProxyFactory

java.lang.Object
  extended by com.opensymphony.xwork2.DefaultActionProxyFactory
      extended by org.apache.struts2.rest.RestActionProxyFactory
All Implemented Interfaces:
ActionProxyFactory

public class RestActionProxyFactory
extends DefaultActionProxyFactory

Factory that creates the RestActionInvocation


Field Summary
protected  java.lang.String namespace
           
static java.lang.String STRUTS_REST_NAMESPACE
           
 
Fields inherited from class com.opensymphony.xwork2.DefaultActionProxyFactory
container
 
Constructor Summary
RestActionProxyFactory()
           
 
Method Summary
 ActionProxy createActionProxy(java.lang.String namespace, java.lang.String actionName, java.lang.String methodName, java.util.Map extraContext, boolean executeResult, boolean cleanupContext)
           
 void setNamespace(java.lang.String namespace)
           
 
Methods inherited from class com.opensymphony.xwork2.DefaultActionProxyFactory
createActionProxy, createActionProxy, createActionProxy, createActionProxy, createActionProxy, setContainer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STRUTS_REST_NAMESPACE

public static final java.lang.String STRUTS_REST_NAMESPACE
See Also:
Constant Field Values

namespace

protected java.lang.String namespace
Constructor Detail

RestActionProxyFactory

public RestActionProxyFactory()
Method Detail

setNamespace

public void setNamespace(java.lang.String namespace)

createActionProxy

public ActionProxy createActionProxy(java.lang.String namespace,
                                     java.lang.String actionName,
                                     java.lang.String methodName,
                                     java.util.Map extraContext,
                                     boolean executeResult,
                                     boolean cleanupContext)
Specified by:
createActionProxy in interface ActionProxyFactory
Overrides:
createActionProxy in class DefaultActionProxyFactory


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.