org.objectweb.jonas_ejb.container
Class JEntityHome

java.lang.Object
  extended by javax.rmi.PortableRemoteObject
      extended by org.objectweb.jonas_ejb.container.JHome
          extended by org.objectweb.jonas_ejb.container.JEntityHome
All Implemented Interfaces:
java.rmi.Remote, javax.ejb.EJBHome
Direct Known Subclasses:
JRepEntityHome

public abstract class JEntityHome
extends JHome
implements java.rmi.Remote

This class is the Standard Home for Entity objects It exists only for beans that have declared a Remote Interface. It implements javax.ejb.EJBHome interface

Author:
Philippe Coq, Philippe Durieux

Field Summary
 
Fields inherited from class org.objectweb.jonas_ejb.container.JHome
bf, dd, ejbMetaData, unregistered
 
Constructor Summary
JEntityHome(EntityDesc dd, JEntityFactory bf)
          constructor
 
Method Summary
abstract  JEntityRemote createRemoteObject()
          creates a new Remote Object for that bean.
 
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 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

JEntityHome

public JEntityHome(EntityDesc dd,
                   JEntityFactory bf)
            throws java.rmi.RemoteException
constructor

Parameters:
dd - The Entity Deployment Decriptor
bf - The Entity Factory
Throws:
java.rmi.RemoteException - failed to create the Home
Method Detail

createRemoteObject

public abstract JEntityRemote createRemoteObject()
                                          throws java.rmi.RemoteException
creates a new Remote Object for that bean. this is in the generated class because it is mainly "new objectClass()"

Returns:
The Remote Object
Throws:
java.rmi.RemoteException - could not create the remote object