For a list of all bean lifecycle methods, see the
BeanFactory javadocs.
BeanClassLoaderAware, BeanFactoryAware, InitializingBean
| Modifier and Type | Method and Description |
|---|---|
| public void | setBeanName(String
the name of the bean in the factory.
Note that this name is the actual bean name used in the factory, which may
differ from the originally specified name: in particular for inner bean
names, the actual bean name might have been made unique through appending
"#..." suffixes. Use the name)BeanFactoryUtils#originalBeanName(String)
method to extract the original bean name (without suffix), if desired.Set the name of the bean in the bean factory that created this bean. |
| setBeanName | back to summary |
|---|---|
| public void setBeanName(String name) Set the name of the bean in the bean factory that created this bean. Invoked after population of normal bean properties but before an
init callback such as
| |