|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.bankframe.ejb.ESessionBean
com.bankframe.services.sessionmgmt.SessionManagementBean
com.bankframe.services.sessionmgmt.ejb.EJBSessionManagementBean
EJB based implementation of Session Management mechanism
| Field Summary | |
static java.lang.String |
JNDI_NAME
|
| Constructor Summary | |
EJBSessionManagementBean()
|
|
| Method Summary | |
boolean |
deleteSessionsForUserId(java.lang.String userId)
delete the BankFrameSessions for a userId |
int |
getNumValidSessions()
Get the number of valid sessions |
java.util.Enumeration |
getSessions()
Get all current valid sessions |
int |
removeAllSessions()
Remove all Sessions, effectively logging off all users on the system |
int |
removeInvalidSessions()
Remove all Invalid Sessions |
| Methods inherited from class com.bankframe.services.sessionmgmt.SessionManagementBean |
getSession, isValidSession, logoff, logon, processDataPacket |
| Methods inherited from class com.bankframe.ejb.ESessionBean |
audit, ejbActivate, ejbCreate, ejbLoad, ejbPassivate, ejbPostCreate, ejbRemove, ejbStore, getSessionContext, processDataPackets, setSessionContext, unsetSessionContext |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String JNDI_NAME
| Constructor Detail |
public EJBSessionManagementBean()
| Method Detail |
public int getNumValidSessions()
throws javax.ejb.FinderException
getNumValidSessions in class SessionManagementBeanjavax.ejb.FinderException - on error
public java.util.Enumeration getSessions()
throws javax.ejb.FinderException
getSessions in class SessionManagementBeanjavax.ejb.FinderException - if an error is encountered retrieving session instances
public int removeAllSessions()
throws javax.ejb.FinderException
removeAllSessions in class SessionManagementBeanjavax.ejb.FinderException - if an error occurs
public int removeInvalidSessions()
throws javax.ejb.FinderException
removeInvalidSessions in class SessionManagementBeanjavax.ejb.FinderException - if an error occurs while removing invalid sessions
public boolean deleteSessionsForUserId(java.lang.String userId)
throws InvalidSessionException
userId - Id of the session to delete
InvalidSessionException - if the session does not exist
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||