Class EventPublicationConfiguration
java.lang.Object
org.springframework.modulith.events.config.EventPublicationConfiguration
- Author:
- Oliver Drotbohm, Björn Kieling, Dmitry Belyaev
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static PersistentApplicationEventMulticaster
applicationEventMulticaster
(ObjectFactory<EventPublicationRegistry> eventPublicationRegistry) (package private) static EventPublicationConfiguration.AsyncPropertiesDefaulter
asyncPropertiesDefaulter
(Environment environment) (package private) static CompletionRegisteringAdvisor
(package private) EventPublicationRegistry
eventPublicationRegistry
(EventPublicationRepository repository)
-
Constructor Details
-
EventPublicationConfiguration
EventPublicationConfiguration()
-
-
Method Details
-
eventPublicationRegistry
@Bean @Role(2) EventPublicationRegistry eventPublicationRegistry(EventPublicationRepository repository) -
applicationEventMulticaster
@Bean @Role(2) static PersistentApplicationEventMulticaster applicationEventMulticaster(ObjectFactory<EventPublicationRegistry> eventPublicationRegistry) -
completionRegisteringAdvisor
@Bean @Role(2) static CompletionRegisteringAdvisor completionRegisteringAdvisor(ObjectFactory<EventPublicationRegistry> registry) -
asyncPropertiesDefaulter
@Bean @Role(2) @ConditionalOnProperty(name="spring.modulith.default-async-termination", havingValue="true", matchIfMissing=true) static EventPublicationConfiguration.AsyncPropertiesDefaulter asyncPropertiesDefaulter(Environment environment)
-