Home » Spring-Framework-090522 » org.springframework » beans » factory » [javadoc | source]
org.springframework.beans.factory
public interface: NamedBean [javadoc | source]

All Known Implementing Classes:
    ExposeBeanNameIntroduction

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.

Method from org.springframework.beans.factory.NamedBean Summary:
getBeanName
Method from org.springframework.beans.factory.NamedBean Detail:
 public String getBeanName()
    Return the name of this bean in a Spring bean factory.