|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface to be implemented by beans that want to be aware of their bean name in a bean factory.
For a list of all bean lifecycle methods, see the BeanFactory javadocs.
BeanFactoryAware
,
InitializingBean
,
BeanFactory
Method Summary | |
void |
setBeanName(java.lang.String name)
Set the name of the bean in the bean factory that created this bean. |
Method Detail |
public void setBeanName(java.lang.String name)
Invoked after population of normal bean properties but before an init callback like InitializingBean's afterPropertiesSet or a custom init-method.
name
- the name of the bean in the factory
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |