Class GenericResourceRepository
java.lang.Object
org.springframework.cloud.config.server.resource.GenericResourceRepository
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,ResourceRepository
,org.springframework.context.ResourceLoaderAware
public class GenericResourceRepository
extends Object
implements ResourceRepository, org.springframework.context.ResourceLoaderAware
An
ResourceRepository
backed by a SearchPathLocator
.- Author:
- Dave Syer
-
Constructor Summary
ConstructorDescriptionGenericResourceRepository
(SearchPathLocator service, ConfigServerProperties properties) -
Method Summary
-
Constructor Details
-
GenericResourceRepository
-
GenericResourceRepository
-
-
Method Details
-
setResourceLoader
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) - Specified by:
setResourceLoader
in interfaceorg.springframework.context.ResourceLoaderAware
-
findOne
public org.springframework.core.io.Resource findOne(String application, String profile, String label, String path) - Specified by:
findOne
in interfaceResourceRepository
-