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 org.objectweb.jonas_ejb.container.JHome
bf, dd, ejbMetaData, homeHandle, isDavid, unregistered
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
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()"
 void postInvoke(RequestCtx rctx)
           
 RequestCtx preInvoke(int txa, java.lang.String secu)
           
 void remove(java.lang.Object pk)
          remove(pk) is not allowed for session beans
 
Methods inherited from class org.objectweb.jonas_ejb.container.JHome
getEJBMetaData, getHomeHandle, register, remove, unregister
 
Methods inherited from class org.objectweb.common.RemoteObject
getPort, setPort
 
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
 

Constructor Detail

JSessionHome

public JSessionHome(SessionDesc dd,
                    JSessionFactory bf)
             throws java.rmi.RemoteException
constructor
Method Detail

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()"