FileDocCategorySizeDatePackage
RemoteObject.javaAPI DocGlassfish v2 API2957Fri May 04 22:35:26 BST 2007com.sun.enterprise.security.auth

RemoteObject

public class RemoteObject extends Object
Just a Base class to make exporting remote objects a bit easier...
author
Harish Prabandham

Fields Summary
private org.omg.CORBA.ORB
orb
Constructors Summary
protected RemoteObject()

	orb = ORBManager.getORB();
    
Methods Summary
protected voidexportObject(java.rmi.Remote remote)

        // create servant and tie
        PortableRemoteObject.exportObject(remote);
        Tie servantsTie = javax.rmi.CORBA.Util.getTie(remote);

        // Note: at this point the Tie doesnt have a delegate inside it,
        // so it is not really "exported".
        // The following call does orb.connect() which is the real exporting
        servantsTie.orb(orb);
    
java.rmi.RemotegetStub(java.rmi.Remote remote)

	return PortableRemoteObject.toStub(remote);