org.objectweb.jonas_ejb.container
Class JEntityHome
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteServer
|
+--java.rmi.server.UnicastRemoteObject
|
+--org.objectweb.common.RemoteObject
|
+--org.objectweb.jonas_ejb.container.JHome
|
+--org.objectweb.jonas_ejb.container.JEntityHome
- All Implemented Interfaces:
- javax.ejb.EJBHome, java.rmi.Remote, java.io.Serializable
- public abstract class JEntityHome
- extends JHome
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
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
JEntityHome
public JEntityHome(EntityDesc dd,
JEntityFactory bf)
throws java.rmi.RemoteException
- constructor
- Parameters:
dd
- The Entity Deployment Decriptorbf
- The Entity Factory
preInvoke
public RequestCtx preInvoke(int txa,
java.lang.String secu)
throws java.rmi.RemoteException
- preInvoke is called before any request.
- Parameters:
txa
- Transaction Attribute (Supports, Required, ...)secu
- Security String that uniquely identifies the method.- Returns:
- A RequestCtx object
- Throws:
java.rmi.RemoteException
-
postInvoke
public void postInvoke(RequestCtx rctx)
throws java.rmi.RemoteException
- postInvoke is called after any request.
- Parameters:
rctx
- The RequestCtx that was returned at preInvoke()
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