@Slf4j @CompileStatic class EventBusFactoryBean extends EventBusBuilder implements FactoryBean<EventBus>, InitializingBean, DisposableBean, ApplicationContextAware
Factory bean for usage within Spring
| Type | Name and description |
|---|---|
ApplicationContext |
applicationContext |
EventBus |
eventBus |
| Constructor and description |
|---|
EventBusFactoryBean() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
afterPropertiesSet() |
|
protected EventBus |
createDefaultEventBus() |
|
void |
destroy()Closes the event bus with the application context when the implementation owns resources, such as the actor loop behind the Groovy and GPars event buses. |
|
EventBus |
getObject() |
|
java.lang.Class<?> |
getObjectType() |
|
boolean |
isSingleton() |
| Methods inherited from class | Name |
|---|---|
class EventBusBuilder |
build, createDefaultEventBus |
Closes the event bus with the application context when the implementation owns resources, such as the actor loop behind the Groovy and GPars event buses.