}
public void addSessionManager(Object deploymentId, SessionManager sessionManager) {
((WadiCache) cache).addSessionManager(deploymentId, sessionManager);
WADISessionManager wadiSessionManager = (WADISessionManager) sessionManager;
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) {