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();