org.ow2.jonas.lib.ejb21
Class JRemote

java.lang.Object
  extended by javax.rmi.PortableRemoteObject
      extended by org.ow2.jonas.lib.ejb21.JRemote
All Implemented Interfaces:
Remote, EJBObject
Direct Known Subclasses:
JEntityRemote, JSessionRemote

public abstract class JRemote
extends PortableRemoteObject
implements 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

Field Summary
protected  JFactory bf
           
 
Constructor Summary
JRemote(JFactory bf)
          constructor
 
Method Summary
 boolean exportObject()
          Make this object accessible again thru the Orb.
 JFactory getBf()
           
 void unexportObject()
          Make this object unaccessible thru the Orb.
 
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
 
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 RemoteException
constructor

Parameters:
bf - The Bean Factory
Throws:
RemoteException
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 NoSuchObjectException
Make this object unaccessible thru the Orb.

Throws:
NoSuchObjectException

getBf

public JFactory getBf()
Returns:
the bean factory


Copyright © 2010 OW2 Consortium. All Rights Reserved.