ClientConnection getConnection() { synchronized ( bind_sync ) { bind(); return connections[currentConnection.ordinal ()]; } }
@Override public boolean validate_connection( org.omg.CORBA.Object self, org.omg.CORBA.PolicyListHolder inconsistent_policies ) { if (non_existent(self)) { inconsistent_policies.value = new Policy[ 0 ]; return false; } else { synchronized ( bind_sync ) { try { bind(); } catch (final INV_POLICY e) { // have some invalid policies. inconsistent_policies.value = new Policy[ 0 ]; return false; } } } return true; }
public byte[] getObjectKey() { synchronized ( bind_sync ) { bind(); return getParsedIOR().get_object_key(); } }
public byte[] getObjectId() { synchronized ( bind_sync ) { bind(); return POAUtil.extractOID(getBaseIOR().get_object_key()); } }
@Override public org.omg.CORBA.Request request( org.omg.CORBA.Object self, String operation ) { orb.perform_work(); synchronized ( bind_sync ) { bind(); return new org.jacorb.orb.dii.Request( self, orb, connections[currentConnection.ordinal ()], getParsedIOR().get_object_key(), operation ); } }
@Override public org.omg.CORBA.Request create_request( org.omg.CORBA.Object self, org.omg.CORBA.Context ctx, String operation, org.omg.CORBA.NVList args, org.omg.CORBA.NamedValue result ) { checkORB(); bind(); return new org.jacorb.orb.dii.Request( self, orb, connections[currentConnection.ordinal ()], getParsedIOR().get_object_key(), operation, args, ctx, result ); }
@Override public org.omg.CORBA.Request create_request( org.omg.CORBA.Object self, org.omg.CORBA.Context ctx, String operation, org.omg.CORBA.NVList args, org.omg.CORBA.NamedValue result, org.omg.CORBA.ExceptionList exceptions, org.omg.CORBA.ContextList contexts ) { checkORB(); bind(); return new org.jacorb.orb.dii.Request( self, orb, connections[currentConnection.ordinal ()], getParsedIOR().get_object_key(), operation, args, ctx, result, exceptions, contexts); }