Class EventSubscriptionServiceImpl

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

    public class EventSubscriptionServiceImpl
    extends 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 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,
                                     Collection<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,
                                     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,
                                        Collection<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,
                                        String uei)
        Specified by:
        removeEventListener in interface org.opennms.integration.api.v1.events.EventSubscriptionService
      • hasEventListener

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