|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.core.io.support.PropertiesLoaderSupport
com.springsource.bundlor.properties.StandardPropertiesSource
public class StandardPropertiesSource
PropertiesSource
implementation that can be configured using Java-Bean style setters. All configured sources
for Properties
instances are merged respecting their configuration order into one Properties
instance.
Concurrent Semantics
Not threadsafe.
Field Summary |
---|
Fields inherited from class org.springframework.core.io.support.PropertiesLoaderSupport |
---|
logger, XML_FILE_EXTENSION |
Constructor Summary | |
---|---|
StandardPropertiesSource()
|
Method Summary | |
---|---|
int |
getPriority()
Returns the priority of this PropertiesSource instance. |
java.util.Properties |
getProperties()
Returns the full-constructed Properties instance. |
Methods inherited from class org.springframework.core.io.support.PropertiesLoaderSupport |
---|
loadProperties, mergeProperties, setFileEncoding, setIgnoreResourceNotFound, setLocalOverride, setLocation, setLocations, setProperties, setPropertiesArray, setPropertiesPersister |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StandardPropertiesSource()
Method Detail |
---|
public int getPriority()
PropertiesSource
instance. The priority describes the order in which all
PropertiesSource
s will be merged into the final Properties
instance.
A lower priority means that the PropertiesSource
's Properties
instance will be added to the
merged Properties
instance prior to PropertiesSource
s with higher priority. For example the
properties returned by System.getProperties()
are likely to have the lowest priority to be able to
override those by user specified values.
getPriority
in interface PropertiesSource
public java.util.Properties getProperties()
Properties
instance.
getProperties
in interface PropertiesSource
Properties
instance created by this PropertiesSource
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |