binaryAttributeFilter = new BinaryAttributeFilter( globalRegistries.getAttributeTypeRegistry() ); filterService.addLookupFilter( binaryAttributeFilter ); filterService.addSearchResultFilter( binaryAttributeFilter );
    public SchemaService( RootNexus nexus, GlobalRegistries globalRegistries,                          FilterService filterService )    {        this.nexus = nexus;        if ( this.nexus == null )        {            throw new NullPointerException( "the nexus cannot be null" );        }        this.globalRegistries = globalRegistries;        if ( this.globalRegistries == null )        {            throw new NullPointerException( "the global registries cannot be null" );        }        this.filterService = filterService;        if ( this.filterService == null )        {            throw new NullPointerException( "the filter service cannot be null" );        }    }