public final Resource[] getSpringConfigResources(String applicationId, ModuleDefinition moduleDefinition, ClassLoader classLoader) {
ModuleLocationsResourceLoader loader = new ModuleLocationsResourceLoader();
Collection<ResourceLoader> resourceLoaders = getSpringLocationResourceLoaders();
ResourceLoader compositeResourceLoader = new CompositeResourceLoader(resourceLoaders);
loader.setResourceLoader(compositeResourceLoader);
return loader.getSpringLocations(moduleDefinition, classLoader);
}