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 Details

    • CrossContextPropagationEventListener

      public CrossContextPropagationEventListener()
  • Method Details

    • onApplicationEvent

      public void onApplicationEvent(Event event)
      Specified by:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<Event>
    • setApplicationEventPublisher

      public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
      Specified by:
      setApplicationEventPublisher in interface org.springframework.context.ApplicationEventPublisherAware