org.objectweb.jonas_ejb.container
Class JSessionHome
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.JSessionHome
- All Implemented Interfaces:
- javax.ejb.EJBHome, java.rmi.Remote, java.io.Serializable
- public abstract class JSessionHome
- extends JHome
This class is the Standard Home for Session objects
It exists only for beans that have declared a Remote Interface.
It implements javax.ejb.EJBHome interface (by the inherited class JHome)
It implements a pool of EJBObject's
- 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 |
JSessionHome
public JSessionHome(SessionDesc dd,
JSessionFactory bf)
throws java.rmi.RemoteException
- constructor
remove
public void remove(java.lang.Object pk)
throws java.rmi.RemoteException,
javax.ejb.RemoveException
- remove(pk) is not allowed for session beans
- Overrides:
remove
in class JHome
preInvoke
public RequestCtx preInvoke(int txa,
java.lang.String secu)
throws java.rmi.RemoteException
postInvoke
public void postInvoke(RequestCtx rctx)
throws java.rmi.RemoteException
createRemoteObject
public abstract JSessionRemote createRemoteObject()
throws java.rmi.RemoteException
- Creates the EJBObject (remote)
this is in the generated class because it is mainly "new objectClass()"