Refine search
throw new org.omg.CORBA.BAD_PARAM(); ref._release();
/** * <p> * Determines if the supplied object is non_existent * </p> * * @param o the CORBA object being verified. * @return {@code true} if the object is non-existent; {@code false} otherwise. */ private boolean isDead(org.omg.CORBA.Object o) { boolean non_exist; try { non_exist = o._non_existent(); } catch (org.omg.CORBA.SystemException e) { non_exist = true; } return non_exist; }
public org.omg.CORBA.Object createReference(final String interfId) throws Exception { final org.omg.CORBA.Object corbaRef = poa.create_reference_with_id(EMPTY_BYTES, interfId); if (policies != null) { return corbaRef._set_policy_override(policies, SetOverrideType.ADD_OVERRIDE); } else { return corbaRef; } }
public static org.eclipse.persistence.sessions.remote.corba.sun.CORBARemoteSessionController narrow(org.omg.CORBA.Object obj) { if (obj == null) { return null; } else if (obj instanceof org.eclipse.persistence.sessions.remote.corba.sun.CORBARemoteSessionController) { return (org.eclipse.persistence.sessions.remote.corba.sun.CORBARemoteSessionController)obj; } else if (!obj._is_a(id())) { throw new org.omg.CORBA.BAD_PARAM(); } else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate(); return new org.eclipse.persistence.sessions.remote.corba.sun._CORBARemoteSessionControllerStub(delegate); } } }
public static org.omg.PortableServer.Current narrow ( org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof org.omg.PortableServer.Current) return (org.omg.PortableServer.Current)obj; else if (!obj._is_a (id ())) throw new org.omg.CORBA.BAD_PARAM (); return null; }
public boolean _is_a(String repositoryIdentifier) { return object._is_a( repositoryIdentifier ) ; }
throw new org.omg.CORBA.BAD_PARAM(org.apache.yoko.orb.OB.MinorCodes .describeBadParam(org.apache.yoko.orb.OB.MinorCodes.MinorBadAddress) + ": no protocol address", org.apache.yoko.orb.OB.MinorCodes.MinorBadAddress, CORBANameParser parser = new CORBANameParser(fragment); if (!parser.isValid()) throw new org.omg.CORBA.BAD_PARAM( MinorCodes .describeBadParam(org.apache.yoko.orb.OB.MinorCodes.MinorBadSchemeSpecificPart) org.omg.CORBA.Request request = nc._request("resolve"); throw new org.omg.CORBA.BAD_PARAM(org.apache.yoko.orb.OB.MinorCodes .describeBadParam(org.apache.yoko.orb.OB.MinorCodes.MinorOther) + ": corbaname evaluation error", org.apache.yoko.orb.OB.MinorCodes.MinorOther,
if (this.names.containsKey(n)) { org.omg.CORBA.Object ref = (org.omg.CORBA.Object) this.names.remove(n); ref._release(); IIOPLogger.ROOT_LOGGER.debugf("Unbound: %s", n); } else if (this.contexts.containsKey(n)) { org.omg.CORBA.Object ref = (org.omg.CORBA.Object) this.contexts.remove(n); ref._release();
public boolean _is_equivalent(org.omg.CORBA.Object other) { return object._is_equivalent( other ) ; }
/** * determine if non_existent */ private boolean isDead(org.omg.CORBA.Object o) { boolean non_exist = true; try { non_exist = o._non_existent(); // Code added to release the reference. if(!non_exist) { o._release(); } } catch (org.omg.CORBA.NO_IMPLEMENT ni) { // not a failure, the peer is alive, it just doesn't // implement _non_existent() non_exist = false; } catch (org.omg.CORBA.SystemException e) { non_exist = true; } return non_exist; } }
public Request _request(String operation) { return object._request( operation ) ; }
org.omg.CORBA.Policy policy = null; try { policy = obj._get_policy(orbPolicies[i].policy_type()); } catch (org.omg.CORBA.INV_POLICY ex) { vec.copyInto(p); return obj._set_policy_override(p, org.omg.CORBA.SetOverrideType.SET_OVERRIDE);
public static org.eclipse.persistence.sessions.remote.corba.sun.CORBARemoteSessionController narrow(org.omg.CORBA.Object obj) { if (obj == null) { return null; } else if (obj instanceof org.eclipse.persistence.sessions.remote.corba.sun.CORBARemoteSessionController) { return (org.eclipse.persistence.sessions.remote.corba.sun.CORBARemoteSessionController)obj; } else if (!obj._is_a(id())) { throw new org.omg.CORBA.BAD_PARAM(); } else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate(); return new org.eclipse.persistence.sessions.remote.corba.sun._CORBARemoteSessionControllerStub(delegate); } } }
public static org.omg.PortableServer.POA narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof org.omg.PortableServer.POA) return (org.omg.PortableServer.POA)obj; else if (!obj._is_a (id ())) throw new org.omg.CORBA.BAD_PARAM (); return null; } }
public void connect_typed_push_consumer(TypedPushConsumer typedPushConsumer) throws AlreadyConnected, TypeError { logger_.info("connect typed_push_supplier"); checkIsNotConnected(); connectClient(typedPushConsumer); pushConsumer_ = typedPushConsumer; typedConsumer_ = pushConsumer_.get_typed_consumer(); if (!typedConsumer_._is_a(supportedInterface_)) { throw new TypeError(); } }
public void _release() { object._release() ; }
/** * Return true if the two object references refer to the same * remote object. */ @Override public boolean isIdentical(Remote obj1, Remote obj2) { if (obj1 instanceof org.omg.CORBA.Object && obj2 instanceof org.omg.CORBA.Object) { org.omg.CORBA.Object corbaObj1 = (org.omg.CORBA.Object)obj1; org.omg.CORBA.Object corbaObj2 = (org.omg.CORBA.Object)obj2; return corbaObj1._is_equivalent(corbaObj2); } else { return false; } }
final String _operation = _fullQualifiedOperation.substring(_idx + 2); final Request _request = typedConsumer_._request(_operation);
public static org.eclipse.persistence.sessions.remote.corba.sun.CORBARemoteSessionController narrow(org.omg.CORBA.Object obj) { if (obj == null) { return null; } else if (obj instanceof org.eclipse.persistence.sessions.remote.corba.sun.CORBARemoteSessionController) { return (org.eclipse.persistence.sessions.remote.corba.sun.CORBARemoteSessionController)obj; } else if (!obj._is_a(id())) { throw new org.omg.CORBA.BAD_PARAM(); } else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate(); return new org.eclipse.persistence.sessions.remote.corba.sun._CORBARemoteSessionControllerStub(delegate); } } }
throw new org.omg.CORBA.BAD_PARAM(); ref._release();