public interface NamedBean
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.
BeanNameAware
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBeanName()
Return the name of this bean in a Spring bean factory, if known.
|