java.lang.Objectorg.springframework.core.io.support.PropertiesLoaderSupport
org.springframework.beans.factory.config.PropertiesFactoryBean
All Implemented Interfaces:
InitializingBean, FactoryBean
Direct Known Subclasses:
ResourceMapFactoryBean
Supports loading from a properties file and/or setting local properties on this FactoryBean. The created Properties instance will be merged from loaded and local values. If neither a location nor local properties are set, an exception will be thrown on initialization.
Can create a singleton or a new object on each request. Default is a singleton.
Juergen - Hoeller| Fields inherited from org.springframework.core.io.support.PropertiesLoaderSupport: |
|---|
| XML_FILE_EXTENSION, logger |
| Method from org.springframework.beans.factory.config.PropertiesFactoryBean Summary: |
|---|
| afterPropertiesSet, createInstance, getObject, getObjectType, isSingleton, setSingleton |
| Methods from org.springframework.core.io.support.PropertiesLoaderSupport: |
|---|
| loadProperties, mergeProperties, setFileEncoding, setIgnoreResourceNotFound, setLocalOverride, setLocation, setLocations, setProperties, setPropertiesArray, setPropertiesPersister |
| Methods from java.lang.Object: |
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.springframework.beans.factory.config.PropertiesFactoryBean Detail: |
|---|
|
Invoked on initialization of this FactoryBean in case of a shared singleton; else, on each #getObject() call. |
|
|
|
Default is "true" (a shared singleton). |