henplus
Class SessionManager
java.lang.Object
henplus.SessionManager
public final class SessionManager
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static SessionManager getInstance()
addSession
public void addSession(String sessionName,
SQLSession session)
removeSessionWithName
public SQLSession removeSessionWithName(String sessionName)
getSessionByName
public SQLSession getSessionByName(String name)
getFirstSessionName
public String getFirstSessionName()
closeCurrentSession
public boolean closeCurrentSession()
closeAll
public void closeAll()
renameSession
public int renameSession(String oldSessionName,
String newSessionName)
getSessionNames
public SortedSet getSessionNames()
getSessionCount
public int getSessionCount()
hasSessions
public boolean hasSessions()
sessionNameExists
public boolean sessionNameExists(String sessionName)
setCurrentSession
public void setCurrentSession(SQLSession session)
getCurrentSession
public SQLSession getCurrentSession()
completeSessionName
public Iterator completeSessionName(String partialSession)
- Used from several commands that need session name completion.
? 1997..2006 Henner Zeller