|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.ejb.EEntityBean com.bankframe.services.sessionmgmt.ejb.session.EJBBankFrameSessionBean
This is an CMP EJB based implementation of the
com.bankframe.service.sessionmgmt.BankFrameSession
interface.
Field Summary | |
java.lang.String |
sessionId
|
java.lang.Long |
timeStamp
|
java.lang.String |
userId
|
Constructor Summary | |
EJBBankFrameSessionBean()
|
Method Summary | |
EJBBankFrameSessionPK |
ejbCreate(java.lang.String sessionId,
java.lang.String userId)
Create a BankFrame Session instance |
void |
ejbPostCreate(java.lang.String sessionId,
java.lang.String userId)
|
java.lang.String |
getSessionId()
Get the session's unique id |
long |
getTimeStamp()
Get the time ( in milliseconds ) that this sesion was last accessed |
java.lang.String |
getUserId()
Get the user id that owns the session |
DataPacket |
toDataPacket()
Convert the entity bean attributes to a DataPacket |
void |
updateTimeStamp()
Update the timestamp value to the current time. |
Methods inherited from class com.bankframe.ejb.EEntityBean |
ejbActivate, ejbLoad, ejbPassivate, ejbRemove, ejbStore, setEntityContext, toString, unsetEntityContext, validate |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public java.lang.String sessionId
public java.lang.String userId
public java.lang.Long timeStamp
Constructor Detail |
public EJBBankFrameSessionBean()
Method Detail |
public EJBBankFrameSessionPK ejbCreate(java.lang.String sessionId, java.lang.String userId) throws javax.ejb.CreateException
sessionId
- Globally unique Id for this user sessionuserId
- Unique id of the user that this session belongs to
javax.ejb.CreateException
- if an error occurspublic void ejbPostCreate(java.lang.String sessionId, java.lang.String userId)
public java.lang.String getSessionId()
public long getTimeStamp()
public java.lang.String getUserId()
public DataPacket toDataPacket()
toDataPacket
in class EEntityBean
public void updateTimeStamp()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |