Top Description Methods
org.springframework.beans.factory

public Interface NamedBean

Known Direct Implementers
org.springframework.beans.factory.config.NamedBeanHolder

Counterpart of BeanNameAware. Returns the bean name of an object.

This interface can be introduced to avoid a brittle dependence on bean name in objects used with Spring IoC and Spring AOP.

Author
Rod Johnson
Since
2.0
See Also
BeanNameAware

Method Summary

Modifier and TypeMethod and Description
public String
getBeanName()

Return the name of this bean in a Spring bean factory, if known.

Method Detail

getBeanNameback to summary
public String getBeanName()

Return the name of this bean in a Spring bean factory, if known.