Package com.oracle.coherence.mp.config
Class CoherenceDefaultsConfigSource
java.lang.Object
com.oracle.coherence.mp.config.CoherenceDefaultsConfigSource
- All Implemented Interfaces:
org.eclipse.microprofile.config.spi.ConfigSource
public class CoherenceDefaultsConfigSource
extends Object
implements org.eclipse.microprofile.config.spi.ConfigSource
A static
ConfigSource
implementation that overrides default
Coherence configuration to:
- Use
java.util.logging
as a logging destination - Use
com.oracle.coherence
as a logger name - Changes default message format to
(thread={thread}, member={member}, up={uptime}): {text}
, in order to allowjava.util.logging
to control overall message formatting
ConfigSource
has an ordinal of 0, so the default configuration values
above will only be used if none of the higher priority configuration sources
provides an override for a configuration property.- Since:
- 20.06
- Author:
- Aleks Seovic 2020.05.16
-
Field Summary
Fields inherited from interface org.eclipse.microprofile.config.spi.ConfigSource
CONFIG_ORDINAL, DEFAULT_ORDINAL
-
Constructor Summary
ConstructorDescriptionConstructCoherenceDefaultsConfigSource
instance. -
Method Summary
-
Constructor Details
-
CoherenceDefaultsConfigSource
public CoherenceDefaultsConfigSource()ConstructCoherenceDefaultsConfigSource
instance.
-
-
Method Details
-
getProperties
- Specified by:
getProperties
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getPropertyNames
- Specified by:
getPropertyNames
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getOrdinal
public int getOrdinal()- Specified by:
getOrdinal
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getValue
- Specified by:
getValue
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getName
- Specified by:
getName
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-