Spring Bean post processor that automatically generates an adapter for each bean containing
- Allard Buijze
Create an AnnotationEventListenerAdapter instance of the given
. This adapter will receive all event
handler calls to be handled by this bean.
bean The bean that the EventListenerAdapter has to adapt
- an event handler adapter for the given
+ "contain exactly one bean of type EventBus. The current application context has: "
Sets the Executor to use when the AnnotationEventListenerBeanPostProcessor encounters event listeners with the
executor the Executor to use for asynchronous event listeners
Sets the event bus to which detected event listeners should be subscribed. If none is provided, the event bus
will be automatically detected in the application context.
eventBus the event bus to subscribe detected event listeners to