|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bankframe.ejb.EEntityBean
com.bankframe.services.sessionmgmt.ejb.session.EJBBankFrameSessionBean
public class EJBBankFrameSessionBean
This is an CMP EJB based implementation of the
com.bankframe.service.sessionmgmt.BankFrameSession interface.
| Field Summary | |
|---|---|
String |
sessionId
|
Long |
timeStamp
|
String |
userId
|
| Constructor Summary | |
|---|---|
EJBBankFrameSessionBean()
|
|
| Method Summary | |
|---|---|
EJBBankFrameSessionPK |
ejbCreate(String sessionId,
String userId)
Create a BankFrame Session instance |
void |
ejbPostCreate(String sessionId,
String userId)
|
String |
getSessionId()
Get the session's unique id |
long |
getTimeStamp()
Get the time ( in milliseconds ) that this sesion was last accessed |
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 String sessionId
public String userId
public Long timeStamp
| Constructor Detail |
|---|
public EJBBankFrameSessionBean()
| Method Detail |
|---|
public EJBBankFrameSessionPK ejbCreate(String sessionId,
String userId)
throws CreateException
sessionId - Globally unique Id for this user sessionuserId - Unique id of the user that this session belongs to
CreateException - if an error occurs
public void ejbPostCreate(String sessionId,
String userId)
public String getSessionId()
public long getTimeStamp()
public String getUserId()
public DataPacket toDataPacket()
toDataPacket in class EEntityBeanpublic void updateTimeStamp()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||