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:
Remote, 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
protected static org.objectweb.util.monolog.api.Logger cmilogger
          Logger for traces
 
Fields inherited from class org.objectweb.jonas_ejb.container.JHome
bf, dd, ejbMetaData, unregistered
 
Constructor Summary
JRepStatelessHome(SessionDesc dd, JSessionFactory bf)
          Constructor
 
Method Summary
 Remote getHARemoteStub(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
 

Field Detail

cmilogger

protected static org.objectweb.util.monolog.api.Logger cmilogger
Logger for traces

Constructor Detail

JRepStatelessHome

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

Parameters:
dd -
bf -
Throws:
RemoteException
Method Detail

getHARemoteStub

public Remote getHARemoteStub(Remote remote)
                       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.