org.openejb.test.beans
Class DatabaseBean
java.lang.Object
org.openejb.test.beans.DatabaseBean
- All Implemented Interfaces:
- javax.ejb.EnterpriseBean, Serializable, javax.ejb.SessionBean
- public class DatabaseBean
- extends Object
- implements javax.ejb.SessionBean
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
public javax.ejb.SessionContext context
jndiContext
public InitialContext jndiContext
DatabaseBean
public DatabaseBean()
ejbCreate
public void ejbCreate()
throws javax.ejb.CreateException
- Throws:
javax.ejb.CreateException
executeQuery
public void executeQuery(String statement)
throws SQLException
- Throws:
SQLException
execute
public boolean execute(String statement)
throws SQLException
- Throws:
SQLException
ejbPassivate
public void ejbPassivate()
- Specified by:
ejbPassivate
in interface javax.ejb.SessionBean
ejbActivate
public void ejbActivate()
- Specified by:
ejbActivate
in interface javax.ejb.SessionBean
ejbRemove
public void ejbRemove()
- Specified by:
ejbRemove
in interface javax.ejb.SessionBean
setSessionContext
public void setSessionContext(javax.ejb.SessionContext cntx)
- Specified by:
setSessionContext
in interface javax.ejb.SessionBean
Copyright © 1999-2007 OpenEJB. All Rights Reserved.