ExprNode filter = null;
ExprNode filter;
    public void addNamingListener( Name name, String filterStr, SearchControls searchControls,                                   NamingListener namingListener )            throws NamingException    {        ExprNode filter = null;        try        {            filter = filterParser.parse( filterStr );        }        catch ( Exception e )        {            NamingException e2 = new NamingException( "could not parse filter: " + filterStr );            e2.setRootCause( e );            throw e2;        }        ( ( DirectoryPartitionNexusProxy ) getNexusProxy() )                .addNamingListener( this, buildTarget( name ), filter, searchControls, namingListener );        getListeners().add( namingListener );    }