Method Summary |
|
synchronized void | clearAll() Removes all Sessions registered with this SessionManager. |
public synchronized void | closeAllSessions() Closes all Sessions registered with this SessionManager. |
public synchronized Session[] | getAllSessions() |
synchronized Session | getSession(int id) Retrieves the Session with the specified Session identifier or null
if no such Session is registered with this SessionManager. |
public Session | getSysSession(String schema, boolean forScript) Retrieves the special SYS Session. |
public Session | getSysSession() Retrieves the special SYS Session. |
public Session | getSysSession(String schema, User user) Retrieves the special SYS Session. |
synchronized Session[] | getVisibleSessions(Session session) Retrieves a list of the Sessions in this container that
are visible to the specified Session, given the access rights of
the Session User. |
synchronized boolean | isEmpty() Returns true if no session exists beyond the sys session. |
public synchronized boolean | isUserActive(String userName) |
public synchronized Session | newSession(Database db, User user, boolean readonly, boolean forlog) Binds the specified Session object into this SessionManager's active
Session registry. |
public synchronized void | removeSchemaReference(Schema schema) |
synchronized void | removeSession(Session session) Removes the session from management and disconnects. |