|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.sape.ejbutils.adapters.SessionBeanAdapter
Provides default implementations of the EJB callback methods for a Session Bean.
| Field Summary | |
protected javax.ejb.SessionContext |
ctx
The SessionContext for this instance of the SessionBean |
private static org.apache.commons.logging.Log |
log
|
| Constructor Summary | |
SessionBeanAdapter()
|
|
| Method Summary | |
void |
ejbActivate()
Default implementation of ejbActivate(). |
void |
ejbCreate()
Default implementation of ejbCreate(). |
void |
ejbPassivate()
Default implementation of ejbPassivate(). |
void |
ejbRemove()
Default implementation of ejbRemove(). |
void |
setSessionContext(javax.ejb.SessionContext ctx)
The container calls this method after creating the SessionBean to set its SessionContext. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static final org.apache.commons.logging.Log log
protected javax.ejb.SessionContext ctx
| Constructor Detail |
public SessionBeanAdapter()
| Method Detail |
public void ejbCreate()
throws javax.ejb.CreateException
javax.ejb.CreateException
public void ejbActivate()
throws javax.ejb.EJBException,
RemoteException
ejbActivate in interface javax.ejb.SessionBeanjavax.ejb.EJBException
RemoteException
public void ejbPassivate()
throws javax.ejb.EJBException,
RemoteException
ejbPassivate in interface javax.ejb.SessionBeanjavax.ejb.EJBException
RemoteException
public void ejbRemove()
throws javax.ejb.EJBException,
RemoteException
ejbRemove in interface javax.ejb.SessionBeanjavax.ejb.EJBException
RemoteException
public void setSessionContext(javax.ejb.SessionContext ctx)
throws javax.ejb.EJBException,
RemoteException
setSessionContext in interface javax.ejb.SessionBeanctx - The SessionContext for this instance of the SessionBean.
javax.ejb.EJBException
RemoteException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||