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.loggingas a logging destination - Use
com.oracle.coherenceas a logger name - Changes default message format to
(thread={thread}, member={member}, up={uptime}): {text}, in order to allowjava.util.loggingto 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
ConstructorsConstructorDescriptionConstructCoherenceDefaultsConfigSourceinstance. -
Method Summary
-
Constructor Details
-
CoherenceDefaultsConfigSource
public CoherenceDefaultsConfigSource()ConstructCoherenceDefaultsConfigSourceinstance.
-
-
Method Details
-
getProperties
- Specified by:
getPropertiesin interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getPropertyNames
- Specified by:
getPropertyNamesin interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getOrdinal
public int getOrdinal()- Specified by:
getOrdinalin interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getValue
- Specified by:
getValuein interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getName
- Specified by:
getNamein interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-