net.sf.spif.ejb
Class StoreSessionBean
java.lang.Object
|
+--net.sf.spif.ejb.StoreSessionBean
- All Implemented Interfaces:
- javax.ejb.EnterpriseBean, java.io.Serializable, javax.ejb.SessionBean
- public class StoreSessionBean
- extends java.lang.Object
- implements javax.ejb.SessionBean
A session bean for chaining together StoreChain
on multiple vms. To use, just deploy this, and add StoreSessionClient
to the client vm's store chain.
This class will just forward incoming store chain requests to the
Store
singleton.
Since this is on a vm boundary, exceptions are logged (as warnings),
to a logger
named by the name of this class.
- Version:
- $Id: StoreSessionBean.java,v 1.2 2003/02/05 22:15:46 bratseth Exp $
- Author:
- Jon S Bratseth
- See Also:
- Serialized Form
Field Summary |
protected static java.util.logging.Logger |
log
The logger used by this class |
javax.ejb.SessionContext |
sessionContext
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static java.util.logging.Logger log
- The logger used by this class
sessionContext
public javax.ejb.SessionContext sessionContext
StoreSessionBean
public StoreSessionBean()
put
public Id put(Id id,
java.lang.Object object)
get
public java.lang.Object get(Id id,
boolean writable)
remove
public boolean remove(Id id)
ejbCreate
public void ejbCreate()
ejbRemove
public void ejbRemove()
- Specified by:
ejbRemove
in interface javax.ejb.SessionBean
ejbActivate
public void ejbActivate()
- Specified by:
ejbActivate
in interface javax.ejb.SessionBean
ejbPassivate
public void ejbPassivate()
- Specified by:
ejbPassivate
in interface javax.ejb.SessionBean
setSessionContext
public void setSessionContext(javax.ejb.SessionContext sc)
- Specified by:
setSessionContext
in interface javax.ejb.SessionBean
Spif 1.01 (2003-04-03). http://spif.sf.net