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 staticConfigSource
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
-
-
Constructor Summary
Constructors Constructor Description CoherenceDefaultsConfigSource()
ConstructCoherenceDefaultsConfigSource
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
int
getOrdinal()
Map<String,String>
getProperties()
String
getValue(String propertyName)
-
-
-
Method Detail
-
getProperties
public Map<String,String> getProperties()
- Specified by:
getProperties
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getOrdinal
public int getOrdinal()
- Specified by:
getOrdinal
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getValue
public String getValue(String propertyName)
- Specified by:
getValue
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eclipse.microprofile.config.spi.ConfigSource
-
-