String sessionID = SESSION_ID.resolveModelAttribute(context, operation).asString();
String time = serverControl.getSessionCreationTime(sessionID);
context.getResult().set(time);
} else if (LIST_SESSIONS_AS_JSON.equals(operationName)) {
String connectionID = CONNECTION_ID.resolveModelAttribute(context, operation).asString();
String json = serverControl.listSessionsAsJSON(connectionID);
context.getResult().set(json);
} else if (LIST_PREPARED_TRANSACTION_JMS_DETAILS_AS_JSON.equals(operationName)) {
String json = serverControl.listPreparedTransactionDetailsAsJSON();
context.getResult().set(json);
} else if (LIST_PREPARED_TRANSACTION_JMS_DETAILS_AS_HTML.equals(operationName)) {