public class

ManagedProperties

extends Properties
implements BeanMetadataElement Mergeable
java.lang.Object
   ↳ java.util.Dictionary<K, V>
     ↳ java.util.Hashtable<K, V>
       ↳ java.util.Properties
         ↳ org.springframework.beans.factory.support.ManagedProperties

Class Overview

Tag class which represents a Spring-managed Properties instance that supports merging of parent/child definitions.

Summary

[Expand]
Inherited Fields
From class java.util.Properties
Public Constructors
ManagedProperties()
Public Methods
Object getSource()
Return the configuration source Object for this metadata element (may be null).
boolean isMergeEnabled()
Is merging enabled for this particular instance?
Object merge(Object parent)
Merge the current value set with that of the supplied object.
void setMergeEnabled(boolean mergeEnabled)
Set whether merging should be enabled for this collection, in case of a 'parent' collection value being present.
void setSource(Object source)
Set the configuration source Object for this metadata element.
[Expand]
Inherited Methods
From class java.util.Properties
From class java.util.Hashtable
From class java.util.Dictionary
From class java.lang.Object
From interface java.util.Map
From interface org.springframework.beans.BeanMetadataElement
From interface org.springframework.beans.Mergeable

Public Constructors

public ManagedProperties ()

Also: SpringBeans

Public Methods

public Object getSource ()

Also: SpringBeans

Return the configuration source Object for this metadata element (may be null).

public boolean isMergeEnabled ()

Also: SpringBeans

Is merging enabled for this particular instance?

public Object merge (Object parent)

Also: SpringBeans

Merge 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.

Parameters
parent the object to merge with
Returns
  • the result of the merge operation

public void setMergeEnabled (boolean mergeEnabled)

Also: SpringBeans

Set whether merging should be enabled for this collection, in case of a 'parent' collection value being present.

public void setSource (Object source)

Also: SpringBeans

Set the configuration source Object for this metadata element.

The exact type of the object will depend on the configuration mechanism used.