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
Fields inherited from class java.rmi.server.RemoteObject |
ref |
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 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 |
bf
protected JFactory bf
JRemote
public JRemote(JFactory bf)
throws java.rmi.RemoteException
- constructor
- Parameters:
bf
- The Bean Factory
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.