01: package net.sourceforge.squirrel_sql.client.session;
02:
03: import net.sourceforge.squirrel_sql.client.IApplication;
04: import net.sourceforge.squirrel_sql.fw.id.IIdentifier;
05:
06: public class MockSessionManager extends SessionManager {
07:
08: ISession session = null;
09:
10: public MockSessionManager(IApplication app) {
11: super (app);
12: }
13:
14: public void setSession(ISession aSession) {
15: session = aSession;
16: }
17:
18: public ISession getSession(IIdentifier sessionID) {
19: return session;
20: }
21:
22: }
|