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 java.lang.Object implements org.springframework.extensions.config.ConfigSourceA 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 java.util.List<org.springframework.extensions.config.ConfigDeployment>getConfigDeployments()voidsetLocations(java.util.List<java.lang.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(java.util.List<java.lang.String> locations)
Sets the locations, of the form classpath*:/some/path.xml
-
getConfigDeployments
public java.util.List<org.springframework.extensions.config.ConfigDeployment> getConfigDeployments()
- Specified by:
getConfigDeploymentsin interfaceorg.springframework.extensions.config.ConfigSource
-
-