Package com.oracle.coherence.mp.config
Class ConfigPropertyResolver
java.lang.Object
com.oracle.coherence.mp.config.ConfigPropertyResolver
- All Implemented Interfaces:
EnvironmentVariableResolver
,SystemPropertyResolver
public class ConfigPropertyResolver
extends Object
implements SystemPropertyResolver, EnvironmentVariableResolver
An implementation of Coherence property resolvers that reads system
properties and environment variables from MP Config.
- Since:
- 20.06
- Author:
- Aleks Seovic 2019.10.11
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tangosol.coherence.config.EnvironmentVariableResolver
EnvironmentVariableResolver.Default
Nested classes/interfaces inherited from interface com.tangosol.coherence.config.SystemPropertyResolver
SystemPropertyResolver.Default
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tangosol.coherence.config.EnvironmentVariableResolver
getEnv
Methods inherited from interface com.tangosol.coherence.config.SystemPropertyResolver
getProperty
-
Constructor Details
-
ConfigPropertyResolver
public ConfigPropertyResolver()ConstructConfigPropertyResolver
instance.This class is loaded by the
ServiceLoader
so must have a default constructor.
-
-
Method Details
-
getEnv
Description copied from interface:EnvironmentVariableResolver
Return the value of the specified environment variable.- Specified by:
getEnv
in interfaceEnvironmentVariableResolver
- Parameters:
name
- the name of the environment variable to return- Returns:
- the value of the specified environment variable
-
getProperty
Description copied from interface:SystemPropertyResolver
Return the value of the specified system property.- Specified by:
getProperty
in interfaceSystemPropertyResolver
- Parameters:
name
- the name of the property to return- Returns:
- the value of the specified system property
-