Class CrossContextPropagationEventListener
java.lang.Object
it.uniroma2.art.semanticturkey.event.support.CrossContextPropagationEventListener
- All Implemented Interfaces:
EventListener
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationEventPublisherAware
,org.springframework.context.ApplicationListener<Event>
public class CrossContextPropagationEventListener
extends Object
implements org.springframework.context.ApplicationListener<Event>, org.springframework.context.ApplicationEventPublisherAware
An
ApplicationListener
that listens for Event
objects and propagates them to other plugins application
contexts- Author:
- Manuel Fiorelli
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onApplicationEvent
(Event event) void
setApplicationEventPublisher
(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
CrossContextPropagationEventListener
public CrossContextPropagationEventListener()
-
-
Method Details
-
onApplicationEvent
- Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<Event>
-
setApplicationEventPublisher
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher) - Specified by:
setApplicationEventPublisher
in interfaceorg.springframework.context.ApplicationEventPublisherAware
-