private final NotificationService notificationService;
private final Registration rpcRegistration;
private final Registration listenerRegistration;
+ private final Registration cssRegistration;
@Inject
@Activate
mapResolver = new MapResolver(mapService, smr, elpPolicy, this);
mapServer = new MapServer(mapService, smr, this, notificationService);
- clusterSingletonService.registerClusterSingletonService(this);
+ cssRegistration = clusterSingletonService.registerClusterSingletonService(this);
mapResolver.setSmrNotificationListener((ISmrNotificationListener) mapServer);
LOG.info("LISP (RFC6830) Mapping Service initialized");
}
@Override
public void close() throws Exception {
destroy();
+ cssRegistration.close();
clusterSingletonService.close();
rpcRegistration.close();
listenerRegistration.close();