net.sourceforge.apphere.dao.mbeanclient
Class MBeanSessionDAO
java.lang.Object
net.sourceforge.apphere.dao.mbeanclient.MBeanSessionDAO
- All Implemented Interfaces:
- SessionDAO
- public class MBeanSessionDAO
- extends java.lang.Object
- implements SessionDAO
- Author:
- Dewi Roberts
Chimera - Institute for Socio-Technical Innovation and Research
University of Essex
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBeanSessionDAO
public MBeanSessionDAO()
addSession
public int addSession(int userId,
Session newSess)
throws AppHereException
- Specified by:
addSession
in interface SessionDAO
- Throws:
AppHereException
removeSession
public void removeSession(int userId,
int sessID)
throws AppHereException
- Specified by:
removeSession
in interface SessionDAO
- Throws:
AppHereException
getSession
public Session getSession(int userId,
int sessID)
throws AppHereException
- Specified by:
getSession
in interface SessionDAO
- Throws:
AppHereException
getSessions
public java.util.List getSessions(int userId)
throws AppHereException
- Specified by:
getSessions
in interface SessionDAO
- Throws:
AppHereException
updateSession
public void updateSession(int userId,
Session sess)
throws AppHereException
- Specified by:
updateSession
in interface SessionDAO
- Throws:
AppHereException