public class SingletonCustomInitParameterProvider extends Object implements CustomInitParameterProvider
CustomInitParameterProvider that provides a single init parameter.| Constructor and Description |
|---|
SingletonCustomInitParameterProvider(String parameterName,
String parameterValue) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsInitParameter(String parameterName)
Returns whether this provider contains an init parameter with the specified name.
|
String |
getInitParameter(String parameterName)
Returns the value of the specified init parameter name.
|
Collection<String> |
getInitParameterNames()
Returns the names of all the init parameters in this provider.
|
public boolean containsInitParameter(String parameterName)
CustomInitParameterProvidercontainsInitParameter in interface CustomInitParameterProviderparameterName - the name of the init parameter.public String getInitParameter(String parameterName)
CustomInitParameterProvidergetInitParameter in interface CustomInitParameterProviderparameterName - the name of the init parameter.null if no such parameter exists.public Collection<String> getInitParameterNames()
CustomInitParameterProvidergetInitParameterNames in interface CustomInitParameterProviderCopyright © 2016. All rights reserved.