Switch KitchenServiceImpl to CompositeListener
[controller.git] / opendaylight / blueprint / src / main / java / org / opendaylight / controller / blueprint / ext / NotificationListenerBean.java
index 3a2a0b837b4e87d27427427a91542d130e7f17a4..55be59cea31a387bde54192fb51c2e3207ab284b 100644 (file)
@@ -7,7 +7,7 @@
  */
 package org.opendaylight.controller.blueprint.ext;
 
-import org.opendaylight.controller.md.sal.binding.api.NotificationService;
+import org.opendaylight.mdsal.binding.api.NotificationService;
 import org.opendaylight.yangtools.concepts.ListenerRegistration;
 import org.opendaylight.yangtools.yang.binding.NotificationListener;
 import org.osgi.framework.Bundle;
@@ -24,10 +24,10 @@ public class NotificationListenerBean {
     private static final Logger LOG = LoggerFactory.getLogger(NotificationListenerBean.class);
     static final String NOTIFICATION_LISTENER = "notification-listener";
 
-    private Bundle bundle;
-    private NotificationService notificationService;
-    private NotificationListener notificationListener;
-    private ListenerRegistration<?> registration;
+    private Bundle bundle = null;
+    private NotificationService notificationService = null;
+    private NotificationListener notificationListener = null;
+    private ListenerRegistration<?> registration = null;
 
     public void setNotificationService(final NotificationService notificationService) {
         this.notificationService = notificationService;