Class RepoUrlConfigSource

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.extensions.config.ConfigSource, org.springframework.web.context.ServletContextAware

    public class RepoUrlConfigSource
    extends org.springframework.extensions.config.source.UrlConfigSource
    ConfigSource that looks for a prefix to determine where to look for the config.
    Valid prefixes are:
    • :// the location provided is a path to a repository file
    as well as those defined in the core (UrlConfigSource) Example store URLs workspace://SpacesStore/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.webclient_extension.childname}/cm:web-client-config-custom.xml workspace://SpacesStore/app:company_home/app:dictionary/app:webclient_extension/cm:web-client-config-custom.xml
    • Constructor Detail

      • RepoUrlConfigSource

        public RepoUrlConfigSource​(String sourceLocation)
      • RepoUrlConfigSource

        public RepoUrlConfigSource​(List<String> sourceLocations)
    • Method Detail

      • setTenantService

        public void setTenantService​(TenantService tenantService)
      • setSearchService

        public void setSearchService​(SearchService searchService)
      • setContentService

        public void setContentService​(ContentService contentService)
      • setNamespaceService

        public void setNamespaceService​(NamespaceService namespaceService)
      • setNodeService

        public void setNodeService​(NodeService nodeService)
      • getInputStream

        public InputStream getInputStream​(String sourceUrl)
        Overrides:
        getInputStream in class org.springframework.extensions.config.source.UrlConfigSource