* while the requested information is retrieved
* @return a <code>SelectedObjectClasses</code> containing the class definitions referred to by
* <code>struct</code>
*/
public static SelectedObjectClasses fromStructure(LdapStructure struct, LdapStructureServerCache ldapCache, WaitService waitSvc) {
LdapLocation ldapLoc = struct.getLdapLocation();
NumericOid[] oids = struct.getStructuralObjectClassOids();
GetDefinitionsCallback callback = new GetDefinitionsCallback();
ObjectClassDefinitionRetriever retriever = new ObjectClassDefinitionRetriever();
retriever.setLdapCache(ldapCache);
retriever.retrieveClassDefinitions(ldapLoc, oids, callback, true, waitSvc);