org.ow2.jonas.lib.ejb21.ha
Class JRepEntityLocalHome

java.lang.Object
  extended by org.ow2.jonas.lib.ejb21.JLocalHome
      extended by org.ow2.jonas.lib.ejb21.JEntityLocalHome
          extended by org.ow2.jonas.lib.ejb21.ha.JRepEntityLocalHome
All Implemented Interfaces:
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.ow2.jonas.lib.ejb21.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.ow2.jonas.lib.ejb21.JEntityLocalHome
findLocalByPK
 
Methods inherited from class org.ow2.jonas.lib.ejb21.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 Descriptor
bf - The Entity Factory
Method Detail

replicateCreate

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

Parameters:
rctx - The RequestCtx that was returned at preInvoke()

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


Copyright © 2010 OW2 Consortium. All Rights Reserved.