Top Description Methods
org.springframework.beans.factory.config

public Interface BeanReference

extends BeanMetadataElement
Known Direct Implementers
org.springframework.beans.factory.config.RuntimeBeanNameReference, org.springframework.beans.factory.config.RuntimeBeanReference
Imports
org.springframework.beans.BeanMetadataElement

Interface that exposes a reference to a bean name in an abstract fashion. This interface does not necessarily imply a reference to an actual bean instance; it just expresses a logical reference to the name of a bean.

Serves as common interface implemented by any kind of bean reference holder, such as RuntimeBeanReference and RuntimeBeanNameReference.

Author
Juergen Hoeller
Since
2.0

Method Summary

Modifier and TypeMethod and Description
public String
getBeanName()

Return the target bean name that this reference points to (never null).

Inherited from org.springframework.beans.BeanMetadataElement:
getSource

Method Detail

getBeanNameback to summary
public String getBeanName()

Return the target bean name that this reference points to (never null).