spring-framework / org.springframework.beans.factory.support / ManagedMap

ManagedMap

open class ManagedMap<K : Any, V : Any> : LinkedHashMap<K, V>, Mergeable, BeanMetadataElement

Tag collection class used to hold managed Map values, which may include runtime bean references (to be resolved into bean objects).

Author
Juergen Hoeller

Author
Rob Harrop

Since
27.05.2003

Constructors

<init>

ManagedMap()
ManagedMap(initialCapacity: Int)

Functions

getKeyTypeName

open fun getKeyTypeName(): String

Return the default key type name (class name) to be used for this map.

getSource

open fun getSource(): Any

getValueTypeName

open fun getValueTypeName(): String

Return the default value type name (class name) to be used for this map.

isMergeEnabled

open fun isMergeEnabled(): Boolean

merge

open fun merge(parent: Any): Any

setKeyTypeName

open fun setKeyTypeName(keyTypeName: String): Unit

Set the default key type name (class name) to be used for this map.

setMergeEnabled

open fun setMergeEnabled(mergeEnabled: Boolean): Unit

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

setSource

open fun setSource(source: Any): Unit

Set the configuration source Object for this metadata element.

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

setValueTypeName

open fun setValueTypeName(valueTypeName: String): Unit

Set the default value type name (class name) to be used for this map.