KickJava   Java API By Example, From Geeks To Geeks.

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


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 public class NullSessionManager implements SessionManager, SessionProvider {
7
8   public SessionID getSessionID() {
9     return SessionID.NULL_ID;
10   }
11
12   public void newSession() {
13     return;
14   }
15
16   public boolean isCurrentSession(SessionID sessionID) {
17     return true;
18   }
19
20 }
21
Popular Tags