X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=opendaylight%2Fmd-sal%2Fsal-binding-broker%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fbinding%2Fcompat%2FHeliumNotificationServiceAdapter.java;fp=opendaylight%2Fmd-sal%2Fsal-binding-broker%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fmd%2Fsal%2Fbinding%2Fcompat%2FHeliumNotificationServiceAdapter.java;h=0000000000000000000000000000000000000000;hb=2611e6a728e586ea34dd891f30a473bf54d6cbd8;hp=c0c898926ae685ac8edd28c72307fa97e7025e47;hpb=aaea3e9a92ae9d6fac04c4a065db4b35cbca9ed0;p=controller.git diff --git a/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/compat/HeliumNotificationServiceAdapter.java b/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/compat/HeliumNotificationServiceAdapter.java deleted file mode 100644 index c0c898926a..0000000000 --- a/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/compat/HeliumNotificationServiceAdapter.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -package org.opendaylight.controller.md.sal.binding.compat; - -import org.opendaylight.controller.md.sal.binding.api.NotificationService; -import org.opendaylight.yangtools.concepts.ListenerRegistration; -import org.opendaylight.yangtools.yang.binding.Notification; -import org.opendaylight.yangtools.yang.binding.NotificationListener; - -@Deprecated(forRemoval = true) -public class HeliumNotificationServiceAdapter - implements org.opendaylight.controller.sal.binding.api.NotificationService, AutoCloseable { - - private final NotificationService notificationService; - - public HeliumNotificationServiceAdapter(NotificationService notificationService) { - this.notificationService = notificationService; - } - - @Override - public ListenerRegistration< - org.opendaylight.controller.sal.binding.api.NotificationListener> registerNotificationListener( - final Class notificationType, - final org.opendaylight.controller.sal.binding.api.NotificationListener listener) { - throw new UnsupportedOperationException("Not supported type of listener."); - } - - @Override - public ListenerRegistration registerNotificationListener( - final NotificationListener listener) { - return notificationService.registerNotificationListener(listener); - } - - @Override - public void close() throws Exception { - } -}