T
- The event type@Indexed(value=BeanInitializedEventListener.class) public interface BeanInitializedEventListener<T> extends java.util.EventListener
Allows hooking into bean instantiation at the point prior to when PostConstruct
initialization hooks have been called and in the case of bean Provider
instances the
Provider.get()
method has not yet been invoked.
This allows (for example) customization of bean properties prior to any initialization logic or factory logic.
Modifier and Type | Method and Description |
---|---|
T |
onInitialized(BeanInitializingEvent<T> event)
Fired when a bean is instantiated but the
PostConstruct initialization hooks have not
yet been called and in this case of bean Provider instances the
Provider.get() method has not yet been invoked. |
T onInitialized(BeanInitializingEvent<T> event)
Fired when a bean is instantiated but the PostConstruct
initialization hooks have not
yet been called and in this case of bean Provider
instances the
Provider.get()
method has not yet been invoked.
event
- The bean initializing event