...
Code Block |
---|
ActionProxyFactory.getFactory(new MyActionProxyFactory() { .... public ActionProxy createActionProxy(Configuration config, String namespace, String actionName, Map extraContext) throws Exception { createActionProxy(config, namespace, actionName, extraContext, true); } public ActionProxy createActionProxy(Configuration config, String namespace, String actionName, Map extraContext, boolean executeResult, boolean cleanupContext) throws Exception { .... } .... }); |
ActionInvocation
Code Block |
---|
ActionProxyFactory.getFactory(new MyActionProxyFactory() { ... public ActionInvocation createActionInvocation(ActionProxy actionProxy) throws Exception { createActionInvocation(actionProxy, new LinkedHashMap()); } public ActionInvocation createActionInvocation(ActionProxy actionProxy, Map extraContext) throws Exception { createActionInvocation(actionProxy, extraContext, true); } public ActionInvocation createActionInvocation(ActionProxy actionProxy, Map extraContext, boolean pushAction) throws Exception { // do implementation of ActionInvocation herer ..... } ... }); |