public int hashCode() { return getIORString().hashCode(); }
@Override public String toString() { synchronized ( bind_sync ) { return getBaseIOR().getIORString(); } }
/** * <code>equals</code> contract is that they have the same IOR string and the * same effective profile. i.e. if one profile is SSL enabled then this will * return false. * * @param other an <code>Object</code> value * @return a <code>boolean</code> value */ public boolean equals( Object other ) { if (other == null) { return false; } return ( (other instanceof ParsedIOR) && ((ParsedIOR)other).getIORString().equals(getIORString()) && effectiveProfile != null && effectiveProfile.is_match (((ParsedIOR)other).effectiveProfile) ); }
ior_str = getIORString();
final String key = pior.getIORString(); org.omg.CORBA.portable.ObjectImpl object;
/** * Called to indicate that this Delegate will no longer be used by * the client. The Delegate unregisters itself from the underlying * GIOPConnection. If there are no other Delegates using that * connection, it will be closed and disposed of altogether. */ @Override public void release( org.omg.CORBA.Object self ) { synchronized ( bind_sync ) { if (!bound) { return; } if ( connections[currentConnection.ordinal ()] != null ) { conn_mg.releaseConnection( connections[currentConnection.ordinal ()] ); connections[currentConnection.ordinal ()] = null; } bound = false; // Call using string rather than this to prevent data race // warning. orb._release( getParsedIOR().getIORString() ); if ( logger.isDebugEnabled() ) { logger.debug("Delegate released!"); } } }
bw.write (pior.getIORString ()); bw.close ();
(new ParsedIOR( (org.jacorb.orb.ORB) orb, _ior)).getIORString());