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 Spring
ConfigSource that is powered by a ResourceFinder. This allows for the loading of resources with wildcards, which UrlConfigSource does not.- Since:
- 4.0.1
- Author:
- Nick Burch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.springframework.extensions.config.ConfigDeployment>voidsetLocations(List<String> locations) Sets the locations, of the form classpath*:/some/path.xmlvoidsetResourceFinder(ResourceFinder resourceFinder)
-
Constructor Details
-
ResourceFinderConfigSource
public ResourceFinderConfigSource()
-
-
Method Details
-
setResourceFinder
-
setLocations
Sets the locations, of the form classpath*:/some/path.xml -
getConfigDeployments
- Specified by:
getConfigDeploymentsin interfaceorg.springframework.extensions.config.ConfigSource
-