Package io.vertigo.core.impl.param
Class ParamManagerImpl
java.lang.Object
io.vertigo.core.impl.param.ParamManagerImpl
- All Implemented Interfaces:
Component,CoreComponent,Manager,ParamManager
This class implements the default paramManager.
The strategy to access params is defined by a list of plugins.
- Author:
- pchretien, npiedeloup
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ParamManagerImpl
Constructor.- Parameters:
paramPlugins- the list of plugins
-
-
Method Details
-
getParam
Returns the value for a parameter identified by its name.- Specified by:
getParamin interfaceParamManager- Parameters:
paramName- the name of the parameter- Returns:
- the value of the parameter
-
getOptionalParam
Description copied from interface:ParamManagerReturns the optional value for a parameter, which may be present or not, identified by its name.- Specified by:
getOptionalParamin interfaceParamManager- Parameters:
paramName- the name of the parameter- Returns:
- the optional value of the parameter
-