Class ApplicationContextEventPropagator
java.lang.Object
com.atlassian.confluence.impl.event.ApplicationContextEventPropagator
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationEventPublisherAware
public final class ApplicationContextEventPropagator
extends Object
implements org.springframework.context.ApplicationEventPublisherAware
This class listeners for all events of type
ConfluenceEvent, and re-published them via the
Spring ApplicationEventPublisher.
Replaces com.atlassian.event.legacy.SpringContextEventPublisher, which listened to com.atlassian.event.Event
rather than ConfluenceEvent.
- Since:
- 8.9
- See Also:
-
com.atlassian.event.legacy.SpringContextEventPublisherConfluencePluginManager.onApplicationEvent(ApplicationEvent)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonEvent(ConfluenceEvent event) voidsetApplicationEventPublisher(@NonNull org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
-
Constructor Details
-
ApplicationContextEventPropagator
public ApplicationContextEventPropagator()
-
-
Method Details
-
onEvent
-
setApplicationEventPublisher
public void setApplicationEventPublisher(@NonNull org.springframework.context.ApplicationEventPublisher applicationEventPublisher) - Specified by:
setApplicationEventPublisherin interfaceorg.springframework.context.ApplicationEventPublisherAware
-