01: /*
02: * Copyright (c) 2002-2006 by OpenSymphony
03: * All rights reserved.
04: */
05: package com.opensymphony.xwork.config.entities;
06:
07: import java.util.Map;
08:
09: /**
10: * <!-- START SNIPPET: javadoc -->
11: *
12: * Actions implementing Parameterizable will receive a map of the static parameters defined in the action
13: * configuration.
14: *
15: * <p/> The {@link com.opensymphony.xwork.interceptor.StaticParametersInterceptor} must be in the action's interceptor
16: * queue for this to work.
17: *
18: * <!-- END SNIPPET: javadoc -->
19: *
20: * @author Jason Carreira
21: */
22: public interface Parameterizable {
23:
24: public void addParam(String name, Object value);
25:
26: void setParams(Map params);
27:
28: Map getParams();
29: }
|