|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.rmi.PortableRemoteObject
org.objectweb.jonas_ejb.container.JHome
org.objectweb.jonas_ejb.container.JSessionHome
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
| Field Summary |
| Fields inherited from class org.objectweb.jonas_ejb.container.JHome |
bf, dd, ejbMetaData, unregistered |
| Constructor Summary | |
JSessionHome(SessionDesc dd,
JSessionFactory bf)
constructor |
|
| Method Summary | |
abstract JSessionRemote |
createRemoteObject()
Creates the EJBObject (remote) this is in the generated class because it is mainly "new objectClass()" |
java.rmi.Remote |
getRemoteOrRemoteStub(java.rmi.Remote remote)
Get the remote object as a stub object for CMI remote object LB |
void |
postInvoke(RequestCtx rctx)
postInvoke is called after any request. |
RequestCtx |
preInvoke(int txa)
preInvoke is called before any request. |
void |
remove(java.lang.Object pk)
remove(pk) is not allowed for session beans |
| 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 |
| Constructor Detail |
public JSessionHome(SessionDesc dd,
JSessionFactory bf)
throws java.rmi.RemoteException
dd - The Session Bean Deployment Descriptorbf - THe Session Bean Factory| Method Detail |
public RequestCtx preInvoke(int txa)
throws java.rmi.RemoteException
JHome
preInvoke in class JHometxa - Transaction Attribute (Supports, Required, ...)
java.rmi.RemoteException - unexpected exception in preinvoke
public void postInvoke(RequestCtx rctx)
throws java.rmi.RemoteException
JHome
postInvoke in class JHomerctx - The RequestCtx that was returned at preInvoke()
java.rmi.RemoteException - unexpected exception in postinvoke
public void remove(java.lang.Object pk)
throws java.rmi.RemoteException,
javax.ejb.RemoveException
remove in interface javax.ejb.EJBHomeremove in class JHomepk - the primary key
javax.ejb.RemoveException - Always.
java.rmi.RemoteException - exception
public abstract JSessionRemote createRemoteObject()
throws java.rmi.RemoteException
java.rmi.RemoteException
public java.rmi.Remote getRemoteOrRemoteStub(java.rmi.Remote remote)
throws java.rmi.NoSuchObjectException
remote - remote object
java.rmi.NoSuchObjectException - if the clustered object is not found in the CMI registry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||