Class UnomiEventPublisher

    • Constructor Detail

      • UnomiEventPublisher

        public UnomiEventPublisher()
    • Method Detail

      • activate

        public void activate​(org.osgi.framework.BundleContext bundleContext)
      • deactivate

        public void deactivate()
      • setPersistenceService

        public void setPersistenceService​(PersistenceService persistenceService)
      • createPublisher

        public org.reactivestreams.Publisher<CDPEventInterface> createPublisher()
      • canHandle

        public boolean canHandle​(Event event)
        Description copied from interface: EventListenerService
        Whether or not this listener can handle the specified event.
        Specified by:
        canHandle in interface EventListenerService
        Parameters:
        event - the event to be handled
        Returns:
        true if this listener can handle the specified event, false otherwise
      • addListener

        public boolean addListener​(org.apache.unomi.graphql.fetchers.event.UnomiEventPublisher.EventPublisherListener listener)
      • removeListener

        public boolean removeListener​(org.apache.unomi.graphql.fetchers.event.UnomiEventPublisher.EventPublisherListener listener)