org.objectweb.jonas_ejb.container
Class JRemote

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--org.objectweb.common.RemoteObject
                          |
                          +--org.objectweb.jonas_ejb.container.JRemote
All Implemented Interfaces:
javax.ejb.EJBObject, java.rmi.Remote, java.io.Serializable
Direct Known Subclasses:
JEntityRemote, JSessionRemote

public abstract class JRemote
extends RemoteObject
implements javax.ejb.EJBObject

This class is the common part of the EJBObject implementation class. Here goes the code common for Entity beans and Session beans

Author:
Philippe Durieux
See Also:
Serialized Form

Field Summary
protected  JFactory bf
           
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
JRemote(JFactory bf)
          constructor
 
Method Summary
 boolean exportObject()
          Make this object accessible again thru the Orb.
 void unexportObject()
          Make this object unaccessible thru the Orb.
 
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
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Field Detail

bf

protected JFactory bf
Constructor Detail

JRemote

public JRemote(JFactory bf)
        throws java.rmi.RemoteException
constructor
Parameters:
bf - The Bean Factory
Method Detail

exportObject

public boolean exportObject()
Make this object accessible again thru the Orb.
Returns:
True if export is OK.

unexportObject

public void unexportObject()
                    throws java.rmi.NoSuchObjectException
Make this object unaccessible thru the Orb.