Simplify DTCL registration support classes
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / messages / RegisterDataTreeChangeListener.java
index e091b5b..f790d1d 100644 (file)
@@ -21,7 +21,7 @@ import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
  * Request a {@link org.opendaylight.controller.md.sal.dom.api.DOMDataTreeChangeListener} registration be made on the
  * shard leader.
  */
-public final class RegisterDataTreeChangeListener implements Externalizable, ListenerRegistrationMessage {
+public final class RegisterDataTreeChangeListener implements Externalizable {
     private static final long serialVersionUID = 1L;
     private ActorRef dataTreeChangeListenerPath;
     private YangInstanceIdentifier path;
@@ -38,17 +38,14 @@ public final class RegisterDataTreeChangeListener implements Externalizable, Lis
         this.registerOnAllInstances = registerOnAllInstances;
     }
 
-    @Override
     public YangInstanceIdentifier getPath() {
         return path;
     }
 
-    @Override
     public ActorPath getListenerActorPath() {
         return dataTreeChangeListenerPath.path();
     }
 
-    @Override
     public boolean isRegisterOnAllInstances() {
         return registerOnAllInstances;
     }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.