org.objectweb.jonas_ejb.container
Class JRepEntityHome
java.lang.Object
javax.rmi.PortableRemoteObject
org.objectweb.jonas_ejb.container.JHome
org.objectweb.jonas_ejb.container.JEntityHome
org.objectweb.jonas_ejb.container.JRepEntityHome
- All Implemented Interfaces:
- Remote, EJBHome
public abstract class JRepEntityHome
- extends JEntityHome
This class is the Standard Home for clustered entity objects It exists only
for beans that have declared a Remote Interface.
- Author:
- Francisco Perez-Sorrosal (fpsorrosal@no-spam@fi.upm.es), Alberto Paz-Jimenez (apaz@no-spam@fi.upm.es)
Methods inherited from class org.objectweb.jonas_ejb.container.JHome |
checkSecurity, getBf, getDd, getEJBMetaData, getHomeHandle, getJndiName, postInvoke, preInvoke, register, remove, remove, unregister |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JRepEntityHome
public JRepEntityHome(EntityDesc dd,
JEntityFactory bf)
throws RemoteException
- Throws:
RemoteException
replicateCreate
protected void replicateCreate(JEntityContext bctx,
Object response)
- Called if we have to replicate a request
- Parameters:
rctx
- The RequestCtx that was returned at preInvoke()
getHARemoteStub
public Remote getHARemoteStub(Remote remote,
Object primaryKey)
throws RemoteException
- Get the remote object as a stub object for HA remote object LB
- Parameters:
remote
- remote object
- Returns:
- get remote object
- Throws:
RemoteException
org.objectweb.carol.cmi.ServerConfigException
NoSuchObjectException
- if the clustered object is not found in the
CMI registry
Copyright © 2007 OW2 Consortium. All Rights Reserved.