com.opensymphony.xwork2.config.entities
Interface Parameterizable


public interface Parameterizable

Actions implementing Parameterizable will receive a map of the static parameters defined in the action configuration.

The StaticParametersInterceptor must be in the action's interceptor queue for this to work.

Author:
Jason Carreira

Method Summary
 void addParam(java.lang.String name, java.lang.String value)
           
 java.util.Map<java.lang.String,java.lang.String> getParams()
           
 void setParams(java.util.Map<java.lang.String,java.lang.String> params)
           
 

Method Detail

addParam

void addParam(java.lang.String name,
              java.lang.String value)

setParams

void setParams(java.util.Map<java.lang.String,java.lang.String> params)

getParams

java.util.Map<java.lang.String,java.lang.String> getParams()


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.