Class ManagedProperties
java.lang.Object
java.util.Dictionary<K,V>
 
java.util.Hashtable<Object,Object>
 
java.util.Properties
org.springframework.beans.factory.support.ManagedProperties
- All Implemented Interfaces:
- Serializable,- Cloneable,- Map<Object,,- Object> - BeanMetadataElement,- Mergeable
Tag class which represents a Spring-managed 
Properties instance
 that supports merging of parent/child definitions.- Since:
- 2.0
- Author:
- Rob Harrop, Juergen Hoeller
- See Also:
- 
Field SummaryFields inherited from class java.util.Propertiesdefaults
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturn the configuration sourceObjectfor this metadata element (may benull).booleanIs merging enabled for this particular instance?Merge the current value set with that of the supplied object.voidsetMergeEnabled(boolean mergeEnabled) Set whether merging should be enabled for this collection, in case of a 'parent' collection value being present.voidSet the configuration sourceObjectfor this metadata element.Methods inherited from class java.util.Propertiesclear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keys, keySet, list, list, load, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
- 
Constructor Details- 
ManagedPropertiespublic ManagedProperties()
 
- 
- 
Method Details- 
setSourceSet the configuration sourceObjectfor this metadata element.The exact type of the object will depend on the configuration mechanism used. 
- 
getSourceDescription copied from interface:BeanMetadataElementReturn the configuration sourceObjectfor this metadata element (may benull).- Specified by:
- getSourcein interface- BeanMetadataElement
 
- 
setMergeEnabledpublic void setMergeEnabled(boolean mergeEnabled) Set whether merging should be enabled for this collection, in case of a 'parent' collection value being present.
- 
isMergeEnabledpublic boolean isMergeEnabled()Description copied from interface:MergeableIs merging enabled for this particular instance?- Specified by:
- isMergeEnabledin interface- Mergeable
 
- 
mergeDescription copied from interface:MergeableMerge the current value set with that of the supplied object.The supplied object is considered the parent, and values in the callee's value set must override those of the supplied object. 
 
-