Class ImixsConfigSource

All Implemented Interfaces:

public class ImixsConfigSource extends Object implements org.eclipse.microprofile.config.spi.ConfigSource
The ImixsConfigSource is a custom config source based on Microprofile Config API.

The config source reads the Imixs-Workflow property file named ''.

With this custom config source the file can be reused without the need to migrate all properties into the file META-INF/ It is recommended to store imixs specific properties into the file

As per SPI it is necessary to register the implementation in META-INF/services by adding an entry in a file called 'org.eclipse.microprofile.config.spi.ConfigSource'

  • Field Details

  • Constructor Details

    • ImixsConfigSource

      public ImixsConfigSource()
  • Method Details

    • 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 key)
      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
    • getProperties

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