Class CdiConfigSourceProvider

java.lang.Object
com.oracle.coherence.mp.config.CdiConfigSourceProvider
All Implemented Interfaces:
org.eclipse.microprofile.config.spi.ConfigSourceProvider

public class CdiConfigSourceProvider extends Object implements org.eclipse.microprofile.config.spi.ConfigSourceProvider
Bridges the gap between ServiceLoader and CDI, by registering itself as a service and using CDI to discover available CDI-managed ConfigSources.
Since:
20.06
Author:
Aleks Seovic 2020.06.11
  • Constructor Details

    • CdiConfigSourceProvider

      public CdiConfigSourceProvider()
  • Method Details

    • getConfigSources

      public Iterable<org.eclipse.microprofile.config.spi.ConfigSource> getConfigSources(ClassLoader forClassLoader)
      Specified by:
      getConfigSources in interface org.eclipse.microprofile.config.spi.ConfigSourceProvider