return newModuleDefinitionSource(resource, factory);
}
protected ModuleDefinitionSource newModuleDefinitionSource(Resource resource, ModuleManagementFactory factory) {
InternalWebXmlRootDefinitionBuilder moduleDefinitionSource = new InternalWebXmlRootDefinitionBuilder(
factory.getModuleLocationResolver(),
factory.getTypeReaders());
moduleDefinitionSource.setResource(resource);
return moduleDefinitionSource;
}