1
2
3 package org.apache.struts2.impl;
4
5 import java.util.Map;
6
7 import com.opensymphony.xwork2.ActionProxy;
8 import com.opensymphony.xwork2.DefaultActionProxyFactory;
9 import com.opensymphony.xwork2.config.Configuration;
10
11 public class StrutsActionProxyFactory extends DefaultActionProxyFactory {
12
13 public ActionProxy createActionProxy(Configuration config, String namespace, String actionName, Map extraContext)
14 throws Exception {
15 return new StrutsActionProxy(config, namespace, actionName, extraContext, true, true);
16 }
17
18 public ActionProxy createActionProxy(Configuration config, String namespace, String actionName, Map extraContext,
19 boolean executeResult, boolean cleanupContext) throws Exception {
20 return new StrutsActionProxy(config, namespace, actionName, extraContext, executeResult, cleanupContext);
21 }
22 }