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

ManagedArray

open class ManagedArray : ManagedList<Any>

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

Author
Juergen Hoeller

Since
3.0

Constructors

<init>

ManagedArray(elementTypeName: String, size: Int)

Create a new managed array placeholder.

Inherited Functions

getElementTypeName

open fun getElementTypeName(): String

Return the default element type name (class name) to be used for this list.

getSource

open fun getSource(): Any

isMergeEnabled

open fun isMergeEnabled(): Boolean

merge

open fun merge(parent: Any): MutableList<E>

setElementTypeName

open fun setElementTypeName(elementTypeName: String): Unit

Set the default element type name (class name) to be used for this list.

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.