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 Details

    • ResourceFinderConfigSource

      public ResourceFinderConfigSource()
  • Method Details

    • 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:
      getConfigDeployments in interface org.springframework.extensions.config.ConfigSource