Phaneendra Manda
Committed by Gerrit Code Review

Vtn resource manager sink added for EventDispatcher

Change-Id: I654c3183b529020b656df077bace17b979f03020
......@@ -156,6 +156,7 @@ public class VtnRscManager extends AbstractListenerManager<VtnRscEvent, VtnRscLi
@Activate
public void activate() {
eventDispatcher.addSink(VtnRscEvent.class, listenerRegistry);
hostService.addListener(hostListener);
floatingIpService.addListener(floatingIpListener);
routerService.addListener(routerListener);
......@@ -189,6 +190,7 @@ public class VtnRscManager extends AbstractListenerManager<VtnRscEvent, VtnRscLi
@Deactivate
public void deactivate() {
eventDispatcher.removeSink(VtnRscEvent.class);
hostService.removeListener(hostListener);
floatingIpService.removeListener(floatingIpListener);
routerService.removeListener(routerListener);
......