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
AnResourceRepositorybacked by aSearchPathLocator.- Author:
- Dave Syer
-
-
Constructor Summary
Constructors Constructor Description GenericResourceRepository(SearchPathLocator service)GenericResourceRepository(SearchPathLocator service, ConfigServerProperties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.core.io.ResourcefindOne(String application, String profile, String label, String path)voidsetResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
-
-
-
Constructor Detail
-
GenericResourceRepository
public GenericResourceRepository(SearchPathLocator service)
-
GenericResourceRepository
public GenericResourceRepository(SearchPathLocator service, ConfigServerProperties properties)
-
-