org.objectweb.jonas_ejb.container
Class JRepEntityLocalHome

java.lang.Object
  extended byorg.objectweb.jonas_ejb.container.JLocalHome
      extended byorg.objectweb.jonas_ejb.container.JEntityLocalHome
          extended byorg.objectweb.jonas_ejb.container.JRepEntityLocalHome
All Implemented Interfaces:
javax.ejb.EJBLocalHome

public abstract class JRepEntityLocalHome
extends JEntityLocalHome

Generic part of the JEntityLocalHome implementation for replicated EB

Author:
Francisco Perez-Sorrosal (fpsorrosal@no-spam@fi.upm.es), Alberto Paz-Jimenez (apaz@no-spam@fi.upm.es)

Field Summary
 
Fields inherited from class org.objectweb.jonas_ejb.container.JLocalHome
bf, dd, homeList
 
Constructor Summary
JRepEntityLocalHome(EntityDesc dd, JEntityFactory bf)
          constructor
 
Method Summary
abstract  JEntityLocal createLocalObject()
          Creates a new Local Object for that bean.
protected  void replicateCreate(JEntityContext bctx)
          Called if we have to replicate a request
 
Methods inherited from class org.objectweb.jonas_ejb.container.JEntityLocalHome
findLocalByPK
 
Methods inherited from class org.objectweb.jonas_ejb.container.JLocalHome
checkSecurity, getJndiLocalName, getLocalHome, postInvoke, preInvoke, register, remove, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRepEntityLocalHome

public JRepEntityLocalHome(EntityDesc dd,
                           JEntityFactory bf)
constructor

Parameters:
dd - The Entity Deployment Decriptor
bf - The Entity Factory
Method Detail

replicateCreate

protected void replicateCreate(JEntityContext bctx)
Called if we have to replicate a request


createLocalObject

public abstract JEntityLocal createLocalObject()
Description copied from class: JEntityLocalHome
Creates a new Local Object for that bean. This is in the generated class because it is mainly "new objectClass()"

Specified by:
createLocalObject in class JEntityLocalHome
Returns:
The Local Object