public void setReference(org.omg.CORBA.Object ref) { myRef = ref; orb = ((org.omg.CORBA.portable.ObjectImpl)myRef)._orb(); } }
public org.omg.CORBA.ORB _get_orb() { return _orb() ; } }
/** * @param codebase * @return */ private org.omg.CORBA.ORB getorb(org.omg.CORBA.Object codebase) { if (codebase instanceof ObjectImpl) { return ((ObjectImpl)codebase)._orb(); } else { return null; } }
public org.omg.CORBA.ORB _get_orb() { return _orb() ; } }
public static ORB getORB( Object stub ) { if (stub instanceof DynamicStub) return ((DynamicStub)stub).getORB() ; else if (stub instanceof ObjectImpl) return (ORB)((ObjectImpl)stub)._orb() ; else throw wrapper.getOrbRequiresStub() ; }
public static ORB getORB(Object stub) { if (stub instanceof DynamicStub) return ((DynamicStub) stub).getORB(); else if (stub instanceof ObjectImpl) return ((ObjectImpl) stub)._orb(); else throw wrapper.getOrbRequiresStub(); }
public static ORB getORB(Object stub) { if (stub instanceof DynamicStub) return ((DynamicStub) stub).getORB(); else if (stub instanceof ObjectImpl) return ((ObjectImpl) stub)._orb(); else throw wrapper.getOrbRequiresStub(); }
public void connect(Remote target, Remote source) throws java.rmi.RemoteException { if (!(source instanceof javax.rmi.CORBA.Stub)) source = toStub(source); ObjectImpl obj; if (target instanceof ObjectImpl) { obj = (ObjectImpl) target; } else { try { exportObject(target); } catch (java.rmi.RemoteException ex) { // ignore "already exported test" // } try { obj = (ObjectImpl) toStub(target); } catch (java.rmi.NoSuchObjectException ex) { throw (java.rmi.RemoteException)new java.rmi.RemoteException("cannot convert to stub!").initCause(ex); } } try { ((javax.rmi.CORBA.Stub) source).connect(((ObjectImpl) obj)._orb()); } catch (org.omg.CORBA.BAD_OPERATION bad_operation) { throw (RemoteException)new RemoteException(bad_operation.getMessage()) .initCause(bad_operation); } }
String ior = orig._orb().object_to_string(orig); outAttrs.put("corbaIor", ior);
String ior = orig._orb().object_to_string(orig); outAttrs.put("corbaIor", ior);