X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;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=ffb48e89507f417d52b7a86d6c34f9af7f955477;hp=68daa45c45c88c8b9d410c37f5512d7439c9e0c3;hpb=c9e43c3fa7ecc66546afb7eda8a1b5d5b15f4120;p=mdsal.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 68daa45c45..0000000000 --- a/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/compat/HeliumNotificationServiceAdapter.java +++ /dev/null @@ -1,39 +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; - -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> 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 { - - } -}