public class DBStatefulBean extends Object implements javax.ejb.SessionBean
| Constructor and Description |
|---|
DBStatefulBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
beginTransaction() |
void |
ejbActivate() |
void |
ejbCreate() |
void |
ejbPassivate() |
void |
ejbRemove() |
void |
endTransaction(boolean commit) |
void |
executeSQL(String sql) |
void |
setSessionContext(javax.ejb.SessionContext sessionContext) |
public void beginTransaction()
public void executeSQL(String sql)
public void endTransaction(boolean commit)
public void ejbCreate()
throws javax.ejb.CreateException
javax.ejb.CreateExceptionpublic void ejbActivate()
throws javax.ejb.EJBException,
RemoteException
ejbActivate in interface javax.ejb.SessionBeanjavax.ejb.EJBExceptionRemoteExceptionpublic void ejbPassivate()
throws javax.ejb.EJBException,
RemoteException
ejbPassivate in interface javax.ejb.SessionBeanjavax.ejb.EJBExceptionRemoteExceptionpublic void ejbRemove()
throws javax.ejb.EJBException,
RemoteException
ejbRemove in interface javax.ejb.SessionBeanjavax.ejb.EJBExceptionRemoteExceptionpublic void setSessionContext(javax.ejb.SessionContext sessionContext)
throws javax.ejb.EJBException,
RemoteException
setSessionContext in interface javax.ejb.SessionBeanjavax.ejb.EJBExceptionRemoteExceptionCopyright © 2003–2018. All rights reserved.