Topology manager - write to topology reference to inventory
[openflowplugin.git] / applications / topology-manager / src / main / java / org / opendaylight / openflowplugin / applications / topology / manager / FlowCapableTopologyProvider.java
index 4136c7f1d91fc87eebf4599bac501cf0b8b9d04f..558210d182371ae14b2c02d3cfa5e0d689fdf6cd 100644 (file)
@@ -31,7 +31,7 @@ public class FlowCapableTopologyProvider extends AbstractBindingAwareProvider im
     private final static Logger LOG = LoggerFactory.getLogger(FlowCapableTopologyProvider.class);
     private ListenerRegistration<NotificationListener> listenerRegistration;
     private Thread thread;
-    private TerminationPointChangeListenerImpl terminationChangeListener;
+    private TerminationPointChangeListenerImpl terminationPointChangeListener;
     private NodeChangeListenerImpl nodeChangeListener;
     static final String TOPOLOGY_ID = "flow:1";
 
@@ -53,7 +53,7 @@ public class FlowCapableTopologyProvider extends AbstractBindingAwareProvider im
         final OperationProcessor processor = new OperationProcessor(dataBroker);
         final FlowCapableTopologyExporter listener = new FlowCapableTopologyExporter(processor, path);
         this.listenerRegistration = notificationService.registerNotificationListener(listener);
-        this.terminationChangeListener = new TerminationPointChangeListenerImpl(dataBroker, processor);
+        this.terminationPointChangeListener = new TerminationPointChangeListenerImpl(dataBroker, processor);
         nodeChangeListener = new NodeChangeListenerImpl(dataBroker, processor);
 
         final ReadWriteTransaction tx = dataBroker.newReadWriteTransaction();
@@ -81,7 +81,7 @@ public class FlowCapableTopologyProvider extends AbstractBindingAwareProvider im
             }
             listenerRegistration = null;
         }
-        unregisterListener(terminationChangeListener);
+        unregisterListener(terminationPointChangeListener);
         unregisterListener(nodeChangeListener);
         if (thread != null) {
             thread.interrupt();