|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.ha.httpsession.beanimpl.ejb.ClusteredHTTPSessionBeanAbstract
Abstract default implementation of the Clustered HTTP session for servlets.
Revisions:
31. decembre 2001 Sacha Labourey:
ClusteredHTTPSession,
ClusteredHTTPSessionBusiness,
ClusteredHTTPSessionHome,
Serialized Form| Field Summary | |
protected javax.ejb.EntityContext |
ejbContext
|
| Constructor Summary | |
ClusteredHTTPSessionBeanAbstract()
|
|
| Method Summary | |
void |
ejbActivate()
|
String |
ejbCreate(String sessionId)
|
String |
ejbCreate(String sessionId,
SerializableHttpSession session)
|
void |
ejbLoad()
|
void |
ejbPassivate()
|
void |
ejbPostCreate(String sessionId)
|
void |
ejbPostCreate(String sessionId,
SerializableHttpSession session)
|
void |
ejbRemove()
|
void |
ejbStore()
|
abstract long |
getCreationTime()
Return the time when this session has been created in miliseconds since 1970. |
protected javax.ejb.EntityContext |
getEntityContext()
|
abstract long |
getLastAccessedTime()
Return the last time this session has been accessed in miliseconds since 1970. |
abstract Serializable |
getSerializedSession()
|
abstract SerializableHttpSession |
getSession()
Return the HttpSession object associated to its id. |
abstract String |
getSessionId()
Get the session identifier associated to this HTTPSession. |
abstract boolean |
isModified()
|
abstract void |
setCreationTime(long value)
|
void |
setEntityContext(javax.ejb.EntityContext ctx)
|
abstract void |
setLastAccessedTime(long value)
|
abstract void |
setSerializedSession(Serializable session)
|
abstract void |
setSession(SerializableHttpSession session)
Associate a new session (set of attributes, ...) to this id. |
abstract void |
setSessionId(String sessionId)
|
void |
unsetEntityContext()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected javax.ejb.EntityContext ejbContext
| Constructor Detail |
public ClusteredHTTPSessionBeanAbstract()
| Method Detail |
public String ejbCreate(String sessionId) throws javax.ejb.CreateException
javax.ejb.CreateExceptionpublic void ejbPostCreate(String sessionId) throws javax.ejb.CreateException
javax.ejb.CreateExceptionpublic String ejbCreate(String sessionId, SerializableHttpSession session) throws javax.ejb.CreateException
javax.ejb.CreateExceptionpublic void ejbPostCreate(String sessionId, SerializableHttpSession session) throws javax.ejb.CreateException
javax.ejb.CreateExceptionpublic abstract boolean isModified()
public void ejbStore()
throws javax.ejb.EJBException,
RemoteException
ejbStore in interface javax.ejb.EntityBeanjavax.ejb.EJBException
RemoteException
public void ejbActivate()
throws javax.ejb.EJBException,
RemoteException
ejbActivate in interface javax.ejb.EntityBeanjavax.ejb.EJBException
RemoteException
public void ejbPassivate()
throws javax.ejb.EJBException,
RemoteException
ejbPassivate in interface javax.ejb.EntityBeanjavax.ejb.EJBException
RemoteException
public void ejbLoad()
throws javax.ejb.EJBException,
RemoteException
ejbLoad in interface javax.ejb.EntityBeanjavax.ejb.EJBException
RemoteExceptionpublic void setEntityContext(javax.ejb.EntityContext ctx)
setEntityContext in interface javax.ejb.EntityBean
public void ejbRemove()
throws javax.ejb.RemoveException,
javax.ejb.EJBException,
RemoteException
ejbRemove in interface javax.ejb.EntityBeanjavax.ejb.RemoveException
javax.ejb.EJBException
RemoteExceptionpublic void unsetEntityContext()
unsetEntityContext in interface javax.ejb.EntityBeanpublic abstract String getSessionId()
ClusteredHTTPSessionBusiness
getSessionId in interface ClusteredHTTPSessionBusinesspublic abstract void setSessionId(String sessionId)
public abstract Serializable getSerializedSession()
public abstract void setSerializedSession(Serializable session)
public abstract long getLastAccessedTime()
ClusteredHTTPSessionBusiness
getLastAccessedTime in interface ClusteredHTTPSessionBusinesspublic abstract void setLastAccessedTime(long value)
public abstract long getCreationTime()
ClusteredHTTPSessionBusiness
getCreationTime in interface ClusteredHTTPSessionBusinesspublic abstract void setCreationTime(long value)
public abstract SerializableHttpSession getSession() throws javax.ejb.EJBException
ClusteredHTTPSessionBusiness
getSession in interface ClusteredHTTPSessionBusinessjavax.ejb.EJBExceptionpublic abstract void setSession(SerializableHttpSession session)
ClusteredHTTPSessionBusiness
setSession in interface ClusteredHTTPSessionBusinessprotected javax.ejb.EntityContext getEntityContext()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||