Searches in the context specified by
name
only, for any objects that have attributes that match the
attributes
parameter.
This method is equivalent to passing a null as
parameter to search(Name name, Attributes attributes, String[] as)
. Objects with attributes that match the attributes
parameter are selected and all attributes are returned for selected objects.
This method throws any NamingException
that occurs.
@param name the name specifies the context to be searched
@param attributes the attributes to be matched when search
@return
NamngEnumeration
of
SearchResult
@throws NamingException If any occurs.
@see #search(Name name,Attributes attributes,String[] as)