public final class Configuration
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
getParameter(ConfigurationParameter parameter)
Retrieves a configured value.
|
static void |
init(ConfigurationParameters parameters)
Initializes and configures the client API.
|
public static void init(ConfigurationParameters parameters)
parameters
- Configuration values to set on initialization.
The API is first configured internally. The parameter values specified on this
call, if any, override the values from the internal initialization and configuration.API_INITIALIZED
- if the API has previously been initialized.public static java.lang.Object getParameter(ConfigurationParameter parameter)
A return value of null
indicates that no value has been explicitly configured
for the requested parameter and an appropriate default value for the parameter is used instead.
parameter
- The parameter for the value to retrieve. See
ConfigurationParameter
.Object
associated with the requested parameter value. If no
value has been configured for the requested parameter, this method returns null
.© Copyright IBM Corporation 2006, 2015. All rights reserved.