794795796797798799800801802803804
session.setManager(this); // make sure the listeners know about it. ((StandardSession)session).tellNew(); add(session); ((StandardSession)session).activate(); session.endAccess(); return (session); }
596597598599600601602603604605606
} 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
568569570571572573574575576577578
492493494495496497498499500501502
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);
766767768769770771772773774775776
((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
129130131132133134135136137138139
session.setManager(manager); // session.setId(sessionId); Only if new ??? manager.add(session); // ((StandardSession)session).activate(); session.access(); session.endAccess(); } } } } }
496497498499500501502503504505506
738739740741742743744745746747748