Package org.alfresco.util
Class ResourceFinderConfigSource
- java.lang.Object
-
- org.alfresco.util.ResourceFinderConfigSource
-
- All Implemented Interfaces:
org.springframework.extensions.config.ConfigSource
public class ResourceFinderConfigSource extends Object implements org.springframework.extensions.config.ConfigSource
A SpringConfigSourcethat is powered by aResourceFinder. This allows for the loading of resources with wildcards, whichUrlConfigSourcedoes not.- Since:
- 4.0.1
- Author:
- Nick Burch
-
-
Constructor Summary
Constructors Constructor Description ResourceFinderConfigSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.springframework.extensions.config.ConfigDeployment>getConfigDeployments()voidsetLocations(List<String> locations)Sets the locations, of the form classpath*:/some/path.xmlvoidsetResourceFinder(ResourceFinder resourceFinder)
-
-
-
Method Detail
-
setResourceFinder
public void setResourceFinder(ResourceFinder resourceFinder)
-
setLocations
public void setLocations(List<String> locations)
Sets the locations, of the form classpath*:/some/path.xml
-
getConfigDeployments
public List<org.springframework.extensions.config.ConfigDeployment> getConfigDeployments()
- Specified by:
getConfigDeploymentsin interfaceorg.springframework.extensions.config.ConfigSource
-
-