org.openejb.test.simple.bmp
Class SimpleBMPEntityEJB

java.lang.Object
  extended by org.openejb.test.simple.bmp.SimpleBMPEntityEJB
All Implemented Interfaces:
Serializable, javax.ejb.EnterpriseBean, javax.ejb.EntityBean

public class SimpleBMPEntityEJB
extends Object
implements javax.ejb.EntityBean

Version:
$Rev: 476321 $ $Date: 2006-11-17 13:18:49 -0800 (Fri, 17 Nov 2006) $
See Also:
Serialized Form

Constructor Summary
SimpleBMPEntityEJB()
           
 
Method Summary
 void ejbActivate()
           
 Integer ejbCreate()
           
 Integer ejbFindByPrimaryKey(Integer key)
           
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbPostCreate()
           
 void ejbRemove()
           
 void ejbStore()
           
 String getName()
           
 String getValue()
           
 void setEntityContext(javax.ejb.EntityContext ctx)
           
 void setName(String name)
           
 void setValue(String value)
           
 void unsetEntityContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleBMPEntityEJB

public SimpleBMPEntityEJB()
Method Detail

ejbCreate

public Integer ejbCreate()

ejbPostCreate

public void ejbPostCreate()

ejbFindByPrimaryKey

public Integer ejbFindByPrimaryKey(Integer key)
                            throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

getName

public String getName()

setName

public void setName(String name)

getValue

public String getValue()

setValue

public void setValue(String value)

ejbActivate

public void ejbActivate()
                 throws javax.ejb.EJBException
Specified by:
ejbActivate in interface javax.ejb.EntityBean
Throws:
javax.ejb.EJBException

ejbLoad

public void ejbLoad()
             throws javax.ejb.EJBException
Specified by:
ejbLoad in interface javax.ejb.EntityBean
Throws:
javax.ejb.EJBException

ejbPassivate

public void ejbPassivate()
                  throws javax.ejb.EJBException
Specified by:
ejbPassivate in interface javax.ejb.EntityBean
Throws:
javax.ejb.EJBException

ejbRemove

public void ejbRemove()
               throws javax.ejb.RemoveException,
                      javax.ejb.EJBException
Specified by:
ejbRemove in interface javax.ejb.EntityBean
Throws:
javax.ejb.RemoveException
javax.ejb.EJBException

ejbStore

public void ejbStore()
              throws javax.ejb.EJBException
Specified by:
ejbStore in interface javax.ejb.EntityBean
Throws:
javax.ejb.EJBException

setEntityContext

public void setEntityContext(javax.ejb.EntityContext ctx)
                      throws javax.ejb.EJBException
Specified by:
setEntityContext in interface javax.ejb.EntityBean
Throws:
javax.ejb.EJBException

unsetEntityContext

public void unsetEntityContext()
                        throws javax.ejb.EJBException
Specified by:
unsetEntityContext in interface javax.ejb.EntityBean
Throws:
javax.ejb.EJBException


Copyright © 2003-2009 The Apache Geronimo development community. All Rights Reserved.