public class PropertiesConfigurationReader extends 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(String defaultProfileNameDefault) |
Modifier and Type | Method and Description |
---|---|
protected Properties |
loadProfile(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(String defaultProfileNameDefault)
public ReactorConfiguration read()
ConfigurationReader
read
in interface ConfigurationReader
null
.protected Properties loadProfile(String name)
Copyright © 2016. All rights reserved.