Class EventsAutoConfiguration
- java.lang.Object
-
- com.netflix.genie.web.spring.autoconfigure.events.EventsAutoConfiguration
-
@Configuration public class EventsAutoConfiguration extends java.lang.Object
Configuration related to Eventing within the Genie application.- Since:
- 3.1.2
-
-
Constructor Summary
Constructors Constructor Description EventsAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenieEventBusImpl
applicationEventMulticaster(org.springframework.core.task.SyncTaskExecutor syncTaskExecutor, org.springframework.core.task.AsyncTaskExecutor asyncTaskExecutor)
A multicast event publisher to replace the default one used by Spring via the ApplicationContext.
-
-
-
Method Detail
-
applicationEventMulticaster
@Bean @ConditionalOnMissingBean(GenieEventBus.class) public GenieEventBusImpl applicationEventMulticaster(@Qualifier("genieSyncTaskExecutor") org.springframework.core.task.SyncTaskExecutor syncTaskExecutor, @Qualifier("genieAsyncTaskExecutor") org.springframework.core.task.AsyncTaskExecutor asyncTaskExecutor)
A multicast event publisher to replace the default one used by Spring via the ApplicationContext.- Parameters:
syncTaskExecutor
- The synchronous task executor to useasyncTaskExecutor
- The asynchronous task executor to use- Returns:
- The application event multicaster to use
-
-