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 allow java.util.logging to control overall message formatting
This 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 Details

    • CoherenceDefaultsConfigSource

      public CoherenceDefaultsConfigSource()
      Construct CoherenceDefaultsConfigSource instance.
  • Method Details

    • getProperties

      public Map<String,String> getProperties()
      Specified by:
      getProperties in interface org.eclipse.microprofile.config.spi.ConfigSource
    • getPropertyNames

      public Set<String> getPropertyNames()
      Specified by:
      getPropertyNames in interface org.eclipse.microprofile.config.spi.ConfigSource
    • getOrdinal

      public int getOrdinal()
      Specified by:
      getOrdinal in interface org.eclipse.microprofile.config.spi.ConfigSource
    • getValue

      public String getValue(String propertyName)
      Specified by:
      getValue in interface org.eclipse.microprofile.config.spi.ConfigSource
    • getName

      public String getName()
      Specified by:
      getName in interface org.eclipse.microprofile.config.spi.ConfigSource