T
- The event type@Indexed(value=BeanCreatedEventListener.class) @FunctionalInterface public interface BeanCreatedEventListener<T> extends EventListener
An event listener that is triggered each time a bean is created.
Allows customization of the created beans.
BeanCreatedEvent
Modifier and Type | Method and Description |
---|---|
T |
onCreated(BeanCreatedEvent<T> event)
Fired when a bean is created and all
PostConstruct initialization hooks have been
called. |
T onCreated(@NonNull BeanCreatedEvent<T> event)
PostConstruct
initialization hooks have been
called.event
- The bean created event