blob: c55e5fd14d83b809264b44cbf2a4f6cc6771727f [file] [log] [blame]
// Copyright 2006 Google Inc. All Rights Reserved.
package org.apache.struts2.impl;
import java.util.Map;
import com.opensymphony.xwork2.ActionProxy;
import com.opensymphony.xwork2.DefaultActionProxyFactory;
import com.opensymphony.xwork2.config.Configuration;
public class StrutsActionProxyFactory extends DefaultActionProxyFactory {
public ActionProxy createActionProxy(Configuration config, String namespace, String actionName, Map extraContext)
throws Exception {
return new StrutsActionProxy(config, namespace, actionName, extraContext, true, true);
}
public ActionProxy createActionProxy(Configuration config, String namespace, String actionName, Map extraContext,
boolean executeResult, boolean cleanupContext) throws Exception {
return new StrutsActionProxy(config, namespace, actionName, extraContext, executeResult, cleanupContext);
}
}