public interface ConfigurationHolder
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getConfiguration()
Returns the configuration.
|
String |
getConfigurationValue(Enum<?> key)
Returns the value from the component configuration based on the provided configuration key.
|
String |
getConfigurationValue(String key)
Returns the value from the component configuration based on the provided configuration key.
|
String |
getPropertyPart()
Returns the property part.
Property parts enables to replace the input request key with the part defined to enable to reuse services with different configuration blocks. Property parts will be replaced with the {0} values in the key, for example org.fax4j.{0}.somekey with part abc will be replaced to org.fax4j.abc.somekey |
String getPropertyPart()
Map<String,String> getConfiguration()
String getConfigurationValue(String key)
key
- The configuration keyString getConfigurationValue(Enum<?> key)
key
- The configuration key (toString value will be used)Copyright © 2009–2020 fax4j. All rights reserved.