Clean up (DOM)DataTreeIdentifier methods
[mdsal.git] / dom / mdsal-dom-api / src / main / java / org / opendaylight / mdsal / dom / api / DOMRpcAvailabilityListener.java
index 3c69ed93e2866d22f86f615f3f4f94fc7284223a..101eba70260df6406eae65c7e1fd184a628b184b 100644 (file)
@@ -8,27 +8,25 @@
 package org.opendaylight.mdsal.dom.api;
 
 import java.util.Collection;
-import java.util.EventListener;
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
 
 /**
- * An {@link EventListener} used to track RPC implementations becoming (un)available
- * to a {@link DOMRpcService}.
+ * A  listene} used to track RPC implementations becoming (un)available to a {@link DOMRpcService}.
  */
-public interface DOMRpcAvailabilityListener extends EventListener {
+public interface DOMRpcAvailabilityListener {
     /**
      * Method invoked whenever an RPC type becomes available.
      *
      * @param rpcs RPC types newly available
      */
-    void onRpcAvailable(@Nonnull Collection<DOMRpcIdentifier> rpcs);
+    void onRpcAvailable(@NonNull Collection<DOMRpcIdentifier> rpcs);
 
     /**
      * Method invoked whenever an RPC type becomes unavailable.
      *
      * @param rpcs RPC types which became unavailable
      */
-    void onRpcUnavailable(@Nonnull Collection<DOMRpcIdentifier> rpcs);
+    void onRpcUnavailable(@NonNull Collection<DOMRpcIdentifier> rpcs);
 
     /**
      * Implementation filtering method. This method is useful for forwarding RPC implementations,