471472473474475476477478479480481
session = super.findSession(session.getIdInternal()); if(session != null){ // To keep any external calling code from messing up the // concurrency. session.access(); session.endAccess(); } } } if (session != null) return (session);
746747748749750751752753754755756
((StandardSession)session).activate(); // endAccess() to ensure timeouts happen correctly. // access() to keep access count correct or it will end up // negative session.access(); session.endAccess(); } } } // Make sure the lock is removed
135136137138139140141142143144145
session.setManager(manager); // session.setId(sessionId); Only if new ??? manager.add(session); // ((StandardSession)session).activate(); session.access(); session.endAccess(); } } } } }
601602603604605606607608609610611
815816817818819820821822823824825
add(session); ((StandardSession)session).activate(); // endAccess() to ensure timeouts happen correctly. // access() to keep access count correct or it will end up negative session.access(); session.endAccess(); return (session); }
625626627628629630631632633634635
} case SessionMessage.EVT_SESSION_ACCESSED :{ Session session = findSession(msg.getSessionID()); if ( session != null ) { session.access(); session.endAccess(); } break; } default: { //we didn't recognize the message type, do nothing
794795796797798799800801802803804
session.setManager(this); // make sure the listeners know about it. ((StandardSession)session).tellNew(); add(session); ((StandardSession)session).activate(); session.endAccess(); return (session); }
585586587588589590591592593594595
827828829830831832833834835836837
494495496497498499500501502503504