public DebugModel createDebugModel( String sessionId, String executionId, String userId, IDebugController debugController) { logger.debug( "entering DebugModelFacade.createDebugModel() with sessionId:" + sessionId + ", executionId:" + executionId + ", userId:" + userId); DebugModel debugModel = debugModels.get(executionId); if (debugModel == null) { debugModel = new DebugModel(debugController); debugModel.setSessionId(sessionId); debugModel.setExecutionId(executionId); debugModel.setUserId(userId); debugModels.put(executionId, debugModel); logger.debug( "DebugModel created with sessionId: " + sessionId + ", executionId: " + executionId + ", userId: " + userId); } logger.debug("exiting DebugModelFacade.createDebugModel()"); return debugModel; }
public static void setActiveDebugModel(DebugModel debugModel) { RWT.getRequest().getSession().setAttribute(ACTIVE_DEBUG_SESSION, debugModel); logger.debug( "Setting DebugModel in Session with sessionId: " + debugModel.getSessionId() + ", executionId: " + debugModel.getExecutionId() + ", userId: " + debugModel.getUserId()); }