public NamingEnumeration<SearchResult> search(Name name, Attributes matchingAttributes, String[] attributesToReturn) throws NamingException {
        this.assertOpen();
        return this.getDelegateDirContext().search(name, matchingAttributes, attributesToReturn);
    }
public NamingEnumeration < SearchResult > search ( Name name , Attributes matchingAttributes , String [ ] attributesToReturn ) throws NamingException { this . assertOpen ( ) ; return this . getDelegateDirContext ( ) . search ( name , matchingAttributes , attributesToReturn ) ; }
@see javax.naming.directory.DirContext#search(javax.naming.Name, javax.naming.directory.Attributes, java.lang.String[])