use of org.springframework.cloud.deployer.resource.support.DelegatingResourceLoader in project java-function-invoker by projectriff.
the class FunctionConfiguration method delegatingResourceLoader.
@Bean
@ConditionalOnMissingBean(DelegatingResourceLoader.class)
public DelegatingResourceLoader delegatingResourceLoader(MavenProperties mavenProperties) {
Map<String, ResourceLoader> loaders = new HashMap<>();
loaders.put(MavenResource.URI_SCHEME, new MavenResourceLoader(mavenProperties));
return new DelegatingResourceLoader(loaders);
}
Aggregations