Manager manager = wadiSessionManager.getManager();
synchronized (deploymentIdToManager) {
deploymentIdToManager.put(deploymentId, manager);
}
ServiceSpace serviceSpace = wadiSessionManager.getServiceSpace();
ServiceRegistry serviceRegistry = serviceSpace.getServiceRegistry();
NetworkConnectorTracker networkConnectorTracker;
try {
networkConnectorTracker = (NetworkConnectorTracker) serviceRegistry.getStartedService(NetworkConnectorTracker.NAME);
} catch (Exception e) {
throw new IllegalStateException("Should never occur" ,e);