code: boolean matches(final SibRaConnectionInfo connectionInfo,
              final SICoreConnection coreConnection) {
  
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
              SibTr.entry(this, TRACE, "matches", new Object[] { connectionInfo,
                      coreConnection });
          }
  
          final boolean match;
          
          if (!isValid ())
          {
              match = false;
          }
          else if (coreConnection != null) {
  
              match = _coreConnection.isEquivalentTo(coreConnection);
  
          } else {
  
              match = _connectionInfo.equals(connectionInfo);
          }
  
          if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
              SibTr.exit(this, TRACE, "matches", Boolean.valueOf(match));
          }
          return match;
  
      }
docs: Returns <code>true</code> if the given parameters provide a suitable
  match with this managed connection. If the core connection is not
  <code>null</code> it must be equivalent to the core connection for this
  managed connection. If it is <code>null</code> then the connection
  information must be the same as for this managed connection. Used by
  <code>matchManagedConnections</code>.
  
  @param connectionInfo
  the connection information
  @param coreConnection
  the core connection
  @return flag indicating whether there is a match