org.objectweb.jonas.jtests.beans.secured
Class BaseEC2

org.objectweb.jonas.jtests.beans.secured.BaseEC2

public abstract class BaseEC2

This is an entity bean with "container managed persistence 2". The state of an instance is stored into a relational database.

Author:
Helene Joanin (jonas team)

Field Summary
protected  javax.ejb.EntityContext entityContext
           
 
Constructor Summary
BaseEC2()
           
 
Method Summary
 void ejbActivate()
           
 java.lang.String ejbCreate(java.lang.String name, java.lang.String info)
           
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbPostCreate(java.lang.String name, java.lang.String info)
           
 void ejbRemove()
           
 void ejbStore()
           
 javax.ejb.EJBContext getEJBContext()
           
abstract  java.lang.String getInfo()
           
abstract  java.lang.String getName()
           
 void setEntityContext(javax.ejb.EntityContext ctx)
           
abstract  void setInfo(java.lang.String n)
           
abstract  void setName(java.lang.String n)
           
 void unsetEntityContext()
           
 

Field Detail

entityContext

protected javax.ejb.EntityContext entityContext
Constructor Detail

BaseEC2

public BaseEC2()
Method Detail

getInfo

public abstract java.lang.String getInfo()

setInfo

public abstract void setInfo(java.lang.String n)

getName

public abstract java.lang.String getName()

setName

public abstract void setName(java.lang.String n)

getEJBContext

public javax.ejb.EJBContext getEJBContext()

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,
                                  java.lang.String info)
                           throws javax.ejb.CreateException

ejbPostCreate

public void ejbPostCreate(java.lang.String name,
                          java.lang.String info)