|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BeanCreationListener
Definition of an interface for objects that are interested in the creation of
beans by a BeanContext.
Objects implementing this interface can be registered at a BeanContext as bean creation listeners. They will then be notified
whenever a new bean is created by the context. This is a very powerful means
of intercepting the bean creation process. For instance, a listener can
perform enhanced initialization on certain types of beans and inject property
values that are known at runtime only.
| Method Summary | |
|---|---|
void |
beanCreated(BeanCreationEvent event)
Notifies this listener about the creation of a new bean. |
| Method Detail |
|---|
void beanCreated(BeanCreationEvent event)
event - the event with information about the bean creation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||