org.ow2.jonas.lib.ejb21
Class JEntityHome
java.lang.Object
javax.rmi.PortableRemoteObject
org.ow2.jonas.lib.ejb21.JHome
org.ow2.jonas.lib.ejb21.JEntityHome
- All Implemented Interfaces:
- Remote, EJBHome
- Direct Known Subclasses:
- JRepEntityHome
public abstract class JEntityHome
- extends JHome
- implements 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
Methods inherited from class org.ow2.jonas.lib.ejb21.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 |
JEntityHome
public JEntityHome(EntityDesc dd,
JEntityFactory bf)
throws RemoteException
- constructor
- Parameters:
dd
- The Entity Deployment Decriptorbf
- The Entity Factory
- Throws:
RemoteException
- failed to create the Home
createRemoteObject
public abstract JEntityRemote createRemoteObject()
throws 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:
RemoteException
- could not create the remote object
Copyright © 2010 OW2 Consortium. All Rights Reserved.