vishnu.sessions
Class AbstractSessionHandler
java.lang.Object
vishnu.sessions.AbstractSessionHandler
- All Implemented Interfaces:
- SessionHandler
- Direct Known Subclasses:
- DefaultSessionHandler, TransactionalSessionHandler
public abstract class AbstractSessionHandler
- extends java.lang.Object
- implements SessionHandler
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pool
protected SessionPool pool
service
protected RelationalDatabaseService service
AbstractSessionHandler
public AbstractSessionHandler(SessionPool pool)
attach
public void attach(RelationalDatabaseService service)
- Specified by:
attach
in interface SessionHandler
login
public Session login(java.lang.String databaseName,
java.lang.String username,
java.lang.String password)
- Specified by:
login
in interface SessionHandler
logout
public void logout(Session s)
- Specified by:
logout
in interface SessionHandler
loginOperations
protected abstract void loginOperations(Session s)
logoutOperations
protected abstract void logoutOperations(Session s)