01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.object.session;
05:
06: import com.tc.exception.ImplementMe;
07:
08: public class TestSessionManager implements SessionManager,
09: SessionProvider {
10:
11: public boolean isCurrentSession = true;
12: public SessionID sessionID = SessionID.NULL_ID;
13:
14: public SessionID getSessionID() {
15: return sessionID;
16: }
17:
18: public SessionID nextSessionID() {
19: throw new ImplementMe();
20: }
21:
22: public void newSession() {
23: return;
24: }
25:
26: public boolean isCurrentSession(SessionID theSessionID) {
27: return isCurrentSession;
28: }
29:
30: }
|