XmlResourceProcessor parser = new XmlResourceProcessor(getClassResolver(), errorHandler);
RegistryInfrastructureConstructor cons = new RegistryInfrastructureConstructor(
errorHandler, LOG, assembly);
ModuleDescriptor md = parser.processResource(getResource("Privates.xml"));
cons.addModuleDescriptor(md);
md = parser.processResource(getResource("ContributePrivate.xml"));