Class EventSubscriptionServiceImpl

  • All Implemented Interfaces:
    org.opennms.integration.api.v1.events.EventSubscriptionService

    public class EventSubscriptionServiceImpl
    extends java.lang.Object
    implements org.opennms.integration.api.v1.events.EventSubscriptionService
    An EventSubscriptionService that accepts EventListener implementations from the API, wraps these in an adapter and delegates them to them to the real service implementation.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addEventListener​(org.opennms.integration.api.v1.events.EventListener listener)  
      void addEventListener​(org.opennms.integration.api.v1.events.EventListener listener, java.lang.String uei)  
      void addEventListener​(org.opennms.integration.api.v1.events.EventListener listener, java.util.Collection<java.lang.String> ueis)  
      boolean hasEventListener​(java.lang.String uei)  
      void removeEventListener​(org.opennms.integration.api.v1.events.EventListener listener)  
      void removeEventListener​(org.opennms.integration.api.v1.events.EventListener listener, java.lang.String uei)  
      void removeEventListener​(org.opennms.integration.api.v1.events.EventListener listener, java.util.Collection<java.lang.String> ueis)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • addEventListener

        public void addEventListener​(org.opennms.integration.api.v1.events.EventListener listener)
        Specified by:
        addEventListener in interface org.opennms.integration.api.v1.events.EventSubscriptionService
      • addEventListener

        public void addEventListener​(org.opennms.integration.api.v1.events.EventListener listener,
                                     java.util.Collection<java.lang.String> ueis)
        Specified by:
        addEventListener in interface org.opennms.integration.api.v1.events.EventSubscriptionService
      • addEventListener

        public void addEventListener​(org.opennms.integration.api.v1.events.EventListener listener,
                                     java.lang.String uei)
        Specified by:
        addEventListener in interface org.opennms.integration.api.v1.events.EventSubscriptionService
      • removeEventListener

        public void removeEventListener​(org.opennms.integration.api.v1.events.EventListener listener)
        Specified by:
        removeEventListener in interface org.opennms.integration.api.v1.events.EventSubscriptionService
      • removeEventListener

        public void removeEventListener​(org.opennms.integration.api.v1.events.EventListener listener,
                                        java.util.Collection<java.lang.String> ueis)
        Specified by:
        removeEventListener in interface org.opennms.integration.api.v1.events.EventSubscriptionService
      • removeEventListener

        public void removeEventListener​(org.opennms.integration.api.v1.events.EventListener listener,
                                        java.lang.String uei)
        Specified by:
        removeEventListener in interface org.opennms.integration.api.v1.events.EventSubscriptionService
      • hasEventListener

        public boolean hasEventListener​(java.lang.String uei)
        Specified by:
        hasEventListener in interface org.opennms.integration.api.v1.events.EventSubscriptionService