protected ObjectClassStructure[] doInBackground() throws Exception {
NumericOid[] oids = getAvailableClasses(ldapLoc, callback, waitService);
if (oids == null || oids.length == 0) {
return null;
}
ObjectClassStructureRetriever r = new ObjectClassStructureRetriever();
r.setLdapCache(ldapCache);
DefaultClassStructureRetrieverCallback handler = new DefaultClassStructureRetrieverCallback();
r.retrieveStructures(oids, ldapLoc, handler, true, waitService);
ObjectClassStructure[] structs = handler.getStructures();
if (structs == null) {
onIncompleteRequest(handler, callback);
}
return structs;