public interface AutoWireProperties extends PropertyConfigurable
PropertyList
for auto-wiring.Modifier and Type | Field and Description |
---|---|
static String |
ENVIRONMENT_PROPERTIES_DIRECTORY
System property to indicating the location of the
Properties files. |
Modifier and Type | Method and Description |
---|---|
PropertyList |
getProperties()
Obtains the
PropertyList . |
void |
loadProperties(String propertiesFilePath)
Convenience method to add
Property instances from a properties
file. |
addProperty
static final String ENVIRONMENT_PROPERTIES_DIRECTORY
System
property to indicating the location of the
Properties
files.PropertyList getProperties()
PropertyList
.PropertyList
.void loadProperties(String propertiesFilePath) throws IOException
Convenience method to add Property
instances from a properties
file.
The location of the properties file is determined based on the system
property ENVIRONMENT_PROPERTIES_DIRECTORY
:
propertiesFilePath
- Path to the properties file.IOException
- If fails to load the properties.Copyright © 2005–2016. All rights reserved.