oidRegistry.register( matchingRule.getName(), matchingRule.getOid() );
String[] names = matchingRule.getNames(); for ( int ii = 0; ii < names.length; ii++ ) { oidRegistry.register( names[ii], matchingRule.getOid() ); }
    public void register( String schema, MatchingRule matchingRule ) throws NamingException    {        if ( byOid.containsKey( matchingRule.getOid() ) )        {            NamingException e = new NamingException( "matchingRule w/ OID " +                matchingRule.getOid() + " has already been registered!" );            monitor.registerFailed( matchingRule, e );            throw e;        }        oidToSchema.put( matchingRule.getOid(), schema );        oidRegistry.register( matchingRule.getName(), matchingRule.getOid() );        byOid.put( matchingRule.getOid(), matchingRule );        monitor.registered( matchingRule );    }