Class EventPublicationConfiguration
java.lang.Object
org.springframework.modulith.events.config.EventPublicationConfiguration
- Direct Known Subclasses:
EventPublicationAutoConfiguration
Fundamental configuration for the
EventPublicationRegistry
support.- Author:
- Oliver Drotbohm, Björn Kieling, Dmitry Belyaev
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static PersistentApplicationEventMulticaster
applicationEventMulticaster
(ObjectFactory<EventPublicationRegistry> eventPublicationRegistry, ObjectFactory<Environment> environment) (package private) static CompletionRegisteringAdvisor
(package private) DefaultEventPublicationRegistry
eventPublicationRegistry
(EventPublicationRepository repository, ObjectProvider<Clock> clock)
-
Constructor Details
-
EventPublicationConfiguration
EventPublicationConfiguration()
-
-
Method Details
-
eventPublicationRegistry
@Bean @Role(2) DefaultEventPublicationRegistry eventPublicationRegistry(EventPublicationRepository repository, ObjectProvider<Clock> clock) -
applicationEventMulticaster
@Bean @Role(2) static PersistentApplicationEventMulticaster applicationEventMulticaster(ObjectFactory<EventPublicationRegistry> eventPublicationRegistry, ObjectFactory<Environment> environment) -
completionRegisteringAdvisor
@Bean @Role(2) static CompletionRegisteringAdvisor completionRegisteringAdvisor(ObjectFactory<EventPublicationRegistry> registry)
-