Change to update node properties
[controller.git] / opendaylight / protocol_plugins / openflow / src / main / java / org / opendaylight / controller / protocol_plugin / openflow / internal / Activator.java
index 9b7d1e3bc20a07b2dc97760c08b41257dcfce4a6..30834cbe1371ca9f42f08e2160751dd51ac2079c 100644 (file)
@@ -121,7 +121,6 @@ public class Activator extends ComponentActivatorAbstractBase {
             // export the service
             c.setInterface(
                     new String[] { IPluginInInventoryService.class.getName(),
-                            IStatisticsListener.class.getName(),
                             IInventoryShimInternalListener.class.getName() },
                     null);
 
@@ -336,8 +335,8 @@ public class Activator extends ComponentActivatorAbstractBase {
         }
 
         if (imp.equals(InventoryServiceShim.class)) {
-            c.setInterface(new String[] { IContainerListener.class.getName() },
-                    null);
+            c.setInterface(new String[] { IContainerListener.class.getName(),
+                    IStatisticsListener.class.getName()}, null);
 
             c.add(createServiceDependency()
                     .setService(IController.class, "(name=Controller)")