(HARequestContext)not.getRequestContext();
if (Trace.logger.isLoggable(BasicLevel.DEBUG))
Trace.logger.log(BasicLevel.DEBUG,
" -> request id = " + reqCtx.getId());
if (reqCtx.getId() == IDEMPOTENT) {
JndiReply reply = manager.invoke(reqCtx);
reqCtx.reply(reply);
} else {
Integer reqId = new Integer(reqCtx.getId());
HARequestContext recoveredReqCtx =
(HARequestContext)requests.get(reqId);
if (recoveredReqCtx == null) {
requests.put(new Integer(requestCounter), reqCtx);
JndiReply reply = manager.invoke(reqCtx);
reqCtx.reply(reply);
} else {
JndiReply reply = recoveredReqCtx.getReply();
if (reply == null) {
recoveredReqCtx.recover(
reqCtx);
} else {
reqCtx.reply(reply);