edu.indiana.dlib.metsnav.config.parameter
Class ParameterMapFactory

java.lang.Object
  extended by edu.indiana.dlib.metsnav.config.parameter.ParameterMapFactory

public class ParameterMapFactory
extends Object

Factory class that used to create instances of ParameterMap

Author:
David Jiao

Field Summary
protected static ParameterMapFactory factory
          singleton field
 
Method Summary
 ParameterMap getParameterMap(String action)
          Creates properties by action name
static ParameterMapFactory newInstance()
          Singleton method
 void registerParameterMap(String action, ParameterMap parameterMap)
          Register a properties for an action
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

protected static ParameterMapFactory factory
singleton field

Method Detail

newInstance

public static ParameterMapFactory newInstance()
Singleton method

Returns:

registerParameterMap

public void registerParameterMap(String action,
                                 ParameterMap parameterMap)
Register a properties for an action

Parameters:
action -
properties -

getParameterMap

public ParameterMap getParameterMap(String action)
Creates properties by action name

Parameters:
action -
Returns:


Copyright © 2005 Trustees of Indiana University. All Rights Reserved.