public interface BeanCreationListener extends EventListener
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.
Modifier and Type | Method and Description |
---|---|
void |
beanCreated(BeanCreationEvent event)
Notifies this listener about the creation of a new bean.
|
void beanCreated(BeanCreationEvent event)
event
- the event with information about the bean creationCopyright © 2016 The JGUIraffe Team. All rights reserved.