org.alfresco.repo.config.source
Class RepoUrlConfigSource
java.lang.Object
org.springframework.extensions.config.source.BaseConfigSource
org.springframework.extensions.config.source.UrlConfigSource
org.alfresco.repo.config.source.RepoUrlConfigSource
- All Implemented Interfaces:
- 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
Fields inherited from class org.springframework.extensions.config.source.UrlConfigSource |
PREFIX_CLASSPATH, PREFIX_FILE, PREFIX_HTTP, PREFIX_JAR, PREFIX_WEBAPP |
Methods inherited from class org.springframework.extensions.config.source.UrlConfigSource |
processSourceString, processWildcardJarSource, setServletContext |
Methods inherited from class org.springframework.extensions.config.source.BaseConfigSource |
addSourceString, getConfigDeployments |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepoUrlConfigSource
public RepoUrlConfigSource(java.lang.String sourceLocation)
RepoUrlConfigSource
public RepoUrlConfigSource(java.util.List sourceLocations)
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 java.io.InputStream getInputStream(java.lang.String sourceUrl)
- Overrides:
getInputStream
in class org.springframework.extensions.config.source.UrlConfigSource
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.