|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.ha.httpsession.beanimpl.ejb.ClusteredHTTPSessionBeanAbstract (src)
org.jboss.ha.httpsession.beanimpl.ejb.ClusteredHTTPSessionBeanImpl
Core implementation of methods for the bean.
ClusteredHTTPSession (src) ,
ClusteredHTTPSessionBeanAbstract (src) ,
Serialized Form| Field Summary | |
protected boolean |
isModified
|
protected SerializableHttpSession (src) |
tmpSession
|
| Fields inherited from class org.jboss.ha.httpsession.beanimpl.ejb.ClusteredHTTPSessionBeanAbstract (src) |
ejbContext |
| Constructor Summary | |
ClusteredHTTPSessionBeanImpl()
|
|
| Method Summary | |
void |
ejbLoad()
A container invokes this method to instruct the instance to synchronize its state by loading it state from the underlying database. |
void |
ejbStore()
A container invokes this method to instruct the instance to synchronize its state by storing it to the underlying database. |
SerializableHttpSession (src) |
getSession()
Return the HttpSession object associated to its id. |
boolean |
isModified()
|
protected void |
serializeSession()
|
void |
setSession(SerializableHttpSession (src) session)
Associate a new session (set of attributes, ...) to this id. |
protected void |
unserializeSession()
|
| Methods inherited from class org.jboss.ha.httpsession.beanimpl.ejb.ClusteredHTTPSessionBeanAbstract (src) |
ejbActivate, ejbCreate, ejbCreate, ejbPassivate, ejbPostCreate, ejbPostCreate, ejbRemove, getCreationTime, getEntityContext, getLastAccessedTime, getSerializedSession, getSessionId, setCreationTime, setEntityContext, setLastAccessedTime, setSerializedSession, setSessionId, unsetEntityContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected SerializableHttpSession (src) tmpSession
protected boolean isModified
| Constructor Detail |
public ClusteredHTTPSessionBeanImpl()
| Method Detail |
public void ejbStore()
throws EJBException (src) ,
java.rmi.RemoteException
EntityBean (src) A container invokes this method to instruct the instance to synchronize its state by storing it to the underlying database.
This method always executes in the transaction context determined by the value of the transaction attribute in the deployment descriptor.
ejbStore in interface EntityBean (src) ejbStore in class ClusteredHTTPSessionBeanAbstract (src) EJBException (src)
java.rmi.RemoteException
public void ejbLoad()
throws EJBException (src) ,
java.rmi.RemoteException
EntityBean (src) A container invokes this method to instruct the instance to synchronize its state by loading it state from the underlying database.
This method always executes in the transaction context determined by the value of the transaction attribute in the deployment descriptor.
ejbLoad in interface EntityBean (src) ejbLoad in class ClusteredHTTPSessionBeanAbstract (src) EJBException (src)
java.rmi.RemoteExceptionpublic SerializableHttpSession (src) getSession()
ClusteredHTTPSessionBusiness (src)
getSession in interface ClusteredHTTPSessionBusiness (src) getSession in class ClusteredHTTPSessionBeanAbstract (src) public void setSession(SerializableHttpSession (src) session)
ClusteredHTTPSessionBusiness (src)
setSession in interface ClusteredHTTPSessionBusiness (src) setSession in class ClusteredHTTPSessionBeanAbstract (src) public boolean isModified()
isModified in class ClusteredHTTPSessionBeanAbstract (src)
protected void serializeSession()
throws EJBException (src)
EJBException (src)
protected void unserializeSession()
throws EJBException (src)
EJBException (src)
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||