org.apache.struts2.impl
类 PrefixBasedActionProxyFactory

java.lang.Object
  继承者 com.opensymphony.xwork2.DefaultActionProxyFactory
      继承者 org.apache.struts2.impl.PrefixBasedActionProxyFactory
所有已实现的接口:
com.opensymphony.xwork2.ActionProxyFactory

public class PrefixBasedActionProxyFactory
extends com.opensymphony.xwork2.DefaultActionProxyFactory

Prefix based factory should be used with PrefixBasedActionMapper to use appropriate ActionProxyFactory connected with given ActionMapper Add below entry to struts.xml to enable the factory:

 <constant name="struts.actionProxyFactory" value="prefix"/>
 
The factory will use the same set of patterns as defined with:

 <constant name="struts.mapper.prefixMapping" value="..."/>
 


构造方法摘要
PrefixBasedActionProxyFactory()
           
 
方法摘要
 com.opensymphony.xwork2.ActionProxy createActionProxy(String namespace, String actionName, String methodName, Map<String,Object> extraContext, boolean executeResult, boolean cleanupContext)
           
 void setActionProxyFactory(com.opensymphony.xwork2.ActionProxyFactory factory)
           
 void setContainer(com.opensymphony.xwork2.inject.Container container)
           
 void setPrefixBasedActionProxyFactories(String list)
           
 
从类 com.opensymphony.xwork2.DefaultActionProxyFactory 继承的方法
createActionProxy, createActionProxy, createActionProxy, createActionProxy, createActionProxy, toString
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

PrefixBasedActionProxyFactory

public PrefixBasedActionProxyFactory()
方法详细信息

setContainer

public void setContainer(com.opensymphony.xwork2.inject.Container container)
覆盖:
com.opensymphony.xwork2.DefaultActionProxyFactory 中的 setContainer

setActionProxyFactory

public void setActionProxyFactory(com.opensymphony.xwork2.ActionProxyFactory factory)

setPrefixBasedActionProxyFactories

public void setPrefixBasedActionProxyFactories(String list)

createActionProxy

public com.opensymphony.xwork2.ActionProxy createActionProxy(String namespace,
                                                             String actionName,
                                                             String methodName,
                                                             Map<String,Object> extraContext,
                                                             boolean executeResult,
                                                             boolean cleanupContext)
指定者:
接口 com.opensymphony.xwork2.ActionProxyFactory 中的 createActionProxy
覆盖:
com.opensymphony.xwork2.DefaultActionProxyFactory 中的 createActionProxy