Class CoherenceConfigSource

java.lang.Object
com.oracle.coherence.mp.config.CoherenceConfigSource
All Implemented Interfaces:
EventDispatcherAwareInterceptor<CacheLifecycleEvent>, EventInterceptor<CacheLifecycleEvent>, org.eclipse.microprofile.config.spi.ConfigSource

@ApplicationScoped public class CoherenceConfigSource extends Object implements org.eclipse.microprofile.config.spi.ConfigSource, EventDispatcherAwareInterceptor<CacheLifecycleEvent>
An implementation of ConfigSource that reads configuration properties from a Coherence map.

Be default, this config source has the ordinal of 500. That implies that any config properties in it will override properties with the same name from standard MP config sources (files, environment variables and Java system properties). The ordinal value can be changed via coherence.config.ordinal config property.

This config source is also mutable. It can be injected into any application class by the CDI container, and the values can be modified by calling invalid input: '{@link /*missing*/}'

Since:
20.06
Author:
Aleks Seovic 2019.10.12
  • Field Details

    • ORDINAL_PROPERTY

      public static final String ORDINAL_PROPERTY
      The name of the system property that can be used to change the ordinal for this ConfigSource.
      See Also:
  • Constructor Details

    • CoherenceConfigSource

      public CoherenceConfigSource()
      Construct CoherenceConfigSource instance.
  • Method Details