org.objectweb.jonas_ejb.container
Class JRepStatelessHome

java.lang.Object
  extended by javax.rmi.PortableRemoteObject
      extended by org.objectweb.jonas_ejb.container.JHome
          extended by org.objectweb.jonas_ejb.container.JSessionHome
              extended by org.objectweb.jonas_ejb.container.JRepStatelessHome
All Implemented Interfaces:
java.rmi.Remote, javax.ejb.EJBHome

public abstract class JRepStatelessHome
extends JSessionHome

This class is the Standard Home for replicated SSB 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), Benoit Pelletier

Field Summary
 
Fields inherited from class org.objectweb.jonas_ejb.container.JHome
bf, dd, ejbMetaData, unregistered
 
Constructor Summary
JRepStatelessHome(SessionDesc dd, JSessionFactory bf)
          Constructor
 
Method Summary
 java.rmi.Remote getHARemoteStub(java.rmi.Remote remote)
          Get the remote object as a stub object for HA remote object LB
 
Methods inherited from class org.objectweb.jonas_ejb.container.JSessionHome
createRemoteObject, getRemoteOrRemoteStub, postInvoke, preInvoke, remove
 
Methods inherited from class org.objectweb.jonas_ejb.container.JHome
checkSecurity, getBf, getDd, getEJBMetaData, getHomeHandle, getJndiName, register, remove, unregister
 
Methods inherited from class javax.rmi.PortableRemoteObject
connect, exportObject, narrow, toStub, unexportObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRepStatelessHome

public JRepStatelessHome(SessionDesc dd,
                         JSessionFactory bf)
                  throws java.rmi.RemoteException
Constructor

Parameters:
dd -
bf -
Throws:
java.rmi.RemoteException
Method Detail

getHARemoteStub

public java.rmi.Remote getHARemoteStub(java.rmi.Remote remote)
                                throws java.rmi.RemoteException
Get the remote object as a stub object for HA remote object LB

Parameters:
remote - remote object
Returns:
get remote object
Throws:
java.rmi.RemoteException
org.objectweb.carol.cmi.ServerConfigException
java.rmi.NoSuchObjectException - if the clustered object is not found in the CMI registry