|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BeanNameAware
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(String name)
Set the name of the bean in the bean factory that created this bean. |
Method Detail |
---|
void setBeanName(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 |