public class PropertiesConfigurationReader extends java.lang.Object implements ConfigurationReader
ConfigurationReader
that reads the configuration from properties files
and System properties.Constructor and Description |
---|
PropertiesConfigurationReader()
Creates a new
PropertiesConfigurationReader that, by default, will load its
configuration from META-INF/reactor/default.properties . |
PropertiesConfigurationReader(java.lang.String defaultProfileNameDefault) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Properties |
loadProfile(java.lang.String name) |
ReactorConfiguration |
read()
Reads the configuration
|
public PropertiesConfigurationReader()
PropertiesConfigurationReader
that, by default, will load its
configuration from META-INF/reactor/default.properties
.public PropertiesConfigurationReader(java.lang.String defaultProfileNameDefault)
public ReactorConfiguration read()
ConfigurationReader
read
in interface ConfigurationReader
null
.protected java.util.Properties loadProfile(java.lang.String name)