org.objectweb.jonas.jtests.beans.ebasic
Class SimpleEC2
org.objectweb.jonas.jtests.beans.ebasic.SimpleEC2
- public abstract class SimpleEC2
This is an entity bean with "container managed persistence version 2.x".
The state of an instance is stored into a relational database.
The following table should exist :
ebasicSimpleEC2
c_testname varchar(30) primarey key
c_info integer
c_numtest integer
- Author:
- Philippe Coq, Philippe Durieux, Helene Joanin
Field Summary |
protected javax.ejb.EntityContext |
entityContext
|
protected static org.objectweb.util.monolog.api.Logger |
logger
|
logger
protected static org.objectweb.util.monolog.api.Logger logger
entityContext
protected javax.ejb.EntityContext entityContext
SimpleEC2
public SimpleEC2()
getInfo
public abstract int getInfo()
setInfo
public abstract void setInfo(int info)
getNumTest
public abstract int getNumTest()
setNumTest
public abstract void setNumTest(int numtest)
getTestName
public abstract java.lang.String getTestName()
setTestName
public abstract void setTestName(java.lang.String testname)
ejbActivate
public void ejbActivate()
ejbPassivate
public void ejbPassivate()
ejbLoad
public void ejbLoad()
ejbStore
public void ejbStore()
ejbRemove
public void ejbRemove()
throws javax.ejb.RemoveException
setEntityContext
public void setEntityContext(javax.ejb.EntityContext ctx)
unsetEntityContext
public void unsetEntityContext()
ejbCreate
public java.lang.String ejbCreate(java.lang.String name,
int info,
int num)
throws javax.ejb.CreateException
ejbPostCreate
public void ejbPostCreate(java.lang.String name,
int info,
int num)