public void exportObject(Remote remote) throws RemoteException { //PortableRemoteObjectExt.pushState(this); try { javax.rmi.PortableRemoteObject.exportObject(remote); } finally { //PortableRemoteObjectExt.popState(); } }
/** * Initializes the object by calling <code>exportObject(this)</code>. * @exception RemoteException if export fails. */ protected PortableRemoteObject() throws RemoteException { if (proDelegate != null) { PortableRemoteObject.exportObject((Remote)this); } }
/** * Initializes the object by calling <code>exportObject(this)</code>. * * @exception RemoteException * if export fails. */ protected PortableRemoteObject() throws RemoteException { if (proDelegate != null) { PortableRemoteObject.exportObject((Remote) this); } }
protected PortableRemoteObject() throws RemoteException { // Register object exportObject((Remote)this); }
/** * Initializes the object by calling <code>exportObject(this)</code>. * * @exception RemoteException * if export fails. */ protected PortableRemoteObject() throws RemoteException { if (proDelegate != null) { PortableRemoteObject.exportObject((Remote) this); } }
protected void exportObject(java.rmi.Remote remote) throws java.rmi.RemoteException { // 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); }
protected void exportObject(java.rmi.Remote remote) throws java.rmi.RemoteException { // 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); }
PortableRemoteObject.exportObject(pmanager); registry = LocateRegistry.createRegistry(RJVM_PORT_NUMBER); registry.bind("proc", pmanager);
PortableRemoteObject.exportObject(impl); Remote proxy = PortableRemoteObject.toStub(impl); if (orb != null) {
PortableRemoteObject.exportObject ( this ); exported_ = true; } else if ( "UnicastRemoteObject".equals ( exportClass ) ) {
public void writeAbstractObject(org.omg.CORBA.portable.OutputStream out, Object obj) { logger.finer("writeAbstractObject.1 " + " out=" + out); if (obj instanceof org.omg.CORBA.Object || obj instanceof Serializable) { // skip // } else if (obj instanceof Remote) { org.omg.CORBA.Object objref = null; try { objref = (org.omg.CORBA.Object) PortableRemoteObject .toStub((Remote) obj); } catch (java.rmi.NoSuchObjectException ex) { } if (objref == null) { try { PortableRemoteObject.exportObject((Remote) obj); objref = (org.omg.CORBA.Object) PortableRemoteObject .toStub((Remote) obj); } catch (RemoteException ex) { throw (MARSHAL) new MARSHAL("unable to export object").initCause(ex); } } obj = objref; } org.omg.CORBA_2_3.portable.OutputStream out_ = (org.omg.CORBA_2_3.portable.OutputStream) out; logger.finer("writeAbstractObject.2 " + " out=" + out); out_.write_abstract_interface(obj); }
PortableRemoteObject.exportObject((java.rmi.Remote) obj); objref = (javax.rmi.CORBA.Stub) PortableRemoteObject .toStub((java.rmi.Remote) obj);