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="..."/>
从类 com.opensymphony.xwork2.DefaultActionProxyFactory 继承的方法 |
createActionProxy, createActionProxy, createActionProxy, createActionProxy, createActionProxy, toString |
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