xsmeral.pipe
Class ParamInitializer

java.lang.Object
  extended by xsmeral.pipe.ParamInitializer

public class ParamInitializer
extends Object

Initializes values of fields annotated with Param with values from the initialization parameter map. The parameter name is either the field name or a name specified as an argument of Param.


Constructor Summary
ParamInitializer()
           
 
Method Summary
static void initialize(Object obj, Map<String,String> params)
          Performs the initialization and conversion.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParamInitializer

public ParamInitializer()
Method Detail

initialize

public static void initialize(Object obj,
                              Map<String,String> params)
                       throws Exception
Performs the initialization and conversion.

Throws:
Exception