接口 BeanReference
- 所有超级接口:
BeanMetadataElement
public interface BeanReference extends 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
andRuntimeBeanNameReference
.- 从以下版本开始:
- 2.0
- 作者:
- Juergen Hoeller
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 String
getBeanName()
Return the target bean name that this reference points to (nevernull
).从接口继承的方法 org.springframework.beans.BeanMetadataElement
getSource
方法详细资料
getBeanName
String getBeanName()
Return the target bean name that this reference points to (nevernull
).