org.openejb.test.beans
Class DatabaseBean
java.lang.Object
org.openejb.test.beans.DatabaseBean
- All Implemented Interfaces:
- java.io.Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean
public class DatabaseBean
- extends java.lang.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 javax.naming.InitialContext jndiContext
DatabaseBean
public DatabaseBean()
ejbCreate
public void ejbCreate()
throws javax.ejb.CreateException
- Throws:
javax.ejb.CreateException
executeQuery
public void executeQuery(java.lang.String statement)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
execute
public boolean execute(java.lang.String statement)
throws java.sql.SQLException
- Throws:
java.sql.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-2011 OpenEJB. All Rights Reserved.