01: /*****************************************************************************
02: * Copyright (C) NanoContainer Organization. All rights reserved. *
03: * ------------------------------------------------------------------------- *
04: * The software in this package is published under the terms of the BSD *
05: * style license a copy of which has been included with this distribution in *
06: * the LICENSE.txt file. *
07: * *
08: *****************************************************************************/package com.opensymphony.webwork.pico;
09:
10: import com.opensymphony.xwork.ActionInvocation;
11: import com.opensymphony.xwork.ActionProxy;
12: import com.opensymphony.xwork.DefaultActionProxyFactory;
13:
14: import java.util.Map;
15:
16: /**
17: * Extension of XWork's {@link com.opensymphony.xwork.ActionProxyFactory ActionProxyFactory}
18: * which creates PicoActionInvocations.
19: *
20: * @author Chris Sturm
21: * @see PicoActionInvocation
22: * @deprecated Use DefaultActionProxyFactory
23: */
24: public class PicoActionProxyFactory extends DefaultActionProxyFactory {
25: public ActionInvocation createActionInvocation(
26: ActionProxy actionProxy) throws Exception {
27: return new PicoActionInvocation(actionProxy);
28: }
29:
30: public ActionInvocation createActionInvocation(
31: ActionProxy actionProxy, Map extraContext) throws Exception {
32: return new PicoActionInvocation(actionProxy, extraContext);
33: }
34:
35: public ActionInvocation createActionInvocation(
36: ActionProxy actionProxy, Map extraContext,
37: boolean pushAction) throws Exception {
38: return new PicoActionInvocation(actionProxy, extraContext,
39: pushAction);
40: }
41: }
|