public class OptionsManager extends Object
OptionsParameter class.
getInstance() method.
| Modifier and Type | Method and Description |
|---|---|
static void |
addInitParameters(Map<String,String> initParams)
Adds custom init parameters used for options.
|
static void |
destroyInstance()
Destroys the current manager instance.
|
static OptionsManager |
getInstance()
Gets the instance of the operations manager.
|
OptionsParameter |
getParameter(String paramName)
Gets a single option parameter by name.
|
Collection<OptionsParameter> |
getParameters()
Gets a collection of all set option parameters.
|
void |
setOptionsParameter(OptionsParameter param)
Sets an options parameter.
|
void |
setOptionsParameters(Collection<OptionsParameter> params)
Sets a collection of options parameters.
|
public static void addInitParameters(Map<String,String> initParams)
option parameters. Names are the string used when calling
getParameter(String).
getInstance(), the manager immediately searched
for JVM parameters in the map's values and loads them into the manager.initParams - A map of option names to JVM parameters.public static void destroyInstance()
public static OptionsManager getInstance()
public Collection<OptionsParameter> getParameters()
public OptionsParameter getParameter(String paramName)
paramName - The name of the parameter to retrieve.public void setOptionsParameter(OptionsParameter param)
param - The options paremeter to set.public void setOptionsParameters(Collection<OptionsParameter> params)
params - Copyright © 2010-2016 NHIN Direct. All Rights Reserved.