KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > object > session > TestSessionManager


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.object.session;
5
6
7 public class TestSessionManager implements SessionManager, SessionProvider {
8
9   public boolean isCurrentSession = true;
10   public SessionID sessionID = SessionID.NULL_ID;
11   
12   public SessionID getSessionID() {
13     return sessionID;
14   }
15
16   public void newSession() {
17     return;
18   }
19
20   public boolean isCurrentSession(SessionID theSessionID) {
21     return isCurrentSession;
22   }
23
24 }
25
Popular Tags