this.applyObjectFactories = invocation.getCaller().getEnvironment().containsKey( Context.OBJECT_FACTORIES );
    public SearchResultFilteringEnumeration( NamingEnumeration decorated,                                             SearchControls searchControls,                                             Invocation invocation,                                             SearchResultFilter filter )            throws NamingException    {        this.searchControls = searchControls;        this.invocation = invocation;        this.filters = new ArrayList();        this.filters.add( filter );        this.decorated = decorated;        if ( ! decorated.hasMore() )        {            close();            return;        }        prefetch();    }