public class ImixsConfigSource extends Object implements org.eclipse.microprofile.config.spi.ConfigSource
The config source reads the Imixs-Workflow property file named 'imxis.properties'.
With this custom config source the imixs.properties file can be reused without the need to migrate all properties into the file META-INF/microprofile-config.properties. It is recommended to store imixs specific properties into the file imixs.properties
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'
| Constructor and Description |
|---|
ImixsConfigSource() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
int |
getOrdinal() |
Map<String,String> |
getProperties() |
String |
getValue(String key) |
public static final String NAME
public int getOrdinal()
getOrdinal in interface org.eclipse.microprofile.config.spi.ConfigSourcepublic String getValue(String key)
getValue in interface org.eclipse.microprofile.config.spi.ConfigSourcepublic String getName()
getName in interface org.eclipse.microprofile.config.spi.ConfigSourceCopyright © 2006–2020 Imixs Software Solutions GmbH. All rights reserved.