com.caucho.ejb
Class AbstractSessionBean

java.lang.Object
  extended by com.caucho.ejb.AbstractSessionBean
All Implemented Interfaces:
java.io.Serializable, EnterpriseBean, SessionBean

public abstract class AbstractSessionBean
extends java.lang.Object
implements SessionBean

Convenience class implementing the EJB 2.1 session bean API

See Also:
Serialized Form

Field Summary
protected  SessionContext sessionContext
           
 
Constructor Summary
AbstractSessionBean()
           
 
Method Summary
 void ejbActivate()
           
 void ejbPassivate()
           
 void ejbRemove()
           
 SessionContext getSessionContext()
           
 void setSessionContext(SessionContext sessionContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sessionContext

protected SessionContext sessionContext
Constructor Detail

AbstractSessionBean

public AbstractSessionBean()
Method Detail

setSessionContext

public void setSessionContext(SessionContext sessionContext)
                       throws EJBException
Specified by:
setSessionContext in interface SessionBean
Throws:
EJBException

getSessionContext

public SessionContext getSessionContext()

ejbActivate

public void ejbActivate()
                 throws EJBException
Specified by:
ejbActivate in interface SessionBean
Throws:
EJBException

ejbPassivate

public void ejbPassivate()
                  throws EJBException
Specified by:
ejbPassivate in interface SessionBean
Throws:
EJBException

ejbRemove

public void ejbRemove()
               throws EJBException
Specified by:
ejbRemove in interface SessionBean
Throws:
EJBException