Class 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

    Since:
    20.06
    Author:
    Aleks Seovic 2019.10.12