/*
* Copyright (c) 2002-2006 by OpenSymphony
* All rights reserved.
*/
package com.opensymphony.xwork2.config.entities;
import java.util.Map;
/**
* <!-- START SNIPPET: javadoc -->
* <p/>
* Actions implementing Parameterizable will receive a map of the static parameters defined in the action
* configuration.
* <p/>
* <p/> The {@link com.opensymphony.xwork2.interceptor.StaticParametersInterceptor} must be in the action's interceptor
* queue for this to work.
* <p/>
* <!-- END SNIPPET: javadoc -->
*
* @author Jason Carreira
*/
public interface Parameterizable {
public void addParam(String name, String value);
void setParams(Map<String, String> params);
Map<String, String> getParams();
}
|