spring-framework / org.springframework.beans.factory.config / RuntimeBeanNameReference

RuntimeBeanNameReference

open class RuntimeBeanNameReference : BeanReference

Immutable placeholder class used for a property value object when it's a reference to another bean name in the factory, to be resolved at runtime.

Author
Juergen Hoeller

Since
2.0

See Also
RuntimeBeanReferenceBeanDefinition#getPropertyValues()org.springframework.beans.factory.BeanFactory#getBean

Constructors

<init>

RuntimeBeanNameReference(beanName: String)

Create a new RuntimeBeanNameReference to the given bean name.

Functions

equals

open fun equals(other: Any?): Boolean

getBeanName

open fun getBeanName(): String

getSource

open fun getSource(): Any

hashCode

open fun hashCode(): Int

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.

toString

open fun toString(): String