Package 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.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
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-
Field Summary
Fields inherited from class org.springframework.extensions.config.source.UrlConfigSource
PREFIX_CLASSPATH, PREFIX_CLASSPATH_ALL, PREFIX_FILE, PREFIX_HTTP, PREFIX_JAR, PREFIX_WEBAPP -
Constructor Summary
ConstructorsConstructorDescriptionRepoUrlConfigSource(String sourceLocation) RepoUrlConfigSource(List<String> sourceLocations) -
Method Summary
Modifier and TypeMethodDescriptiongetInputStream(String sourceUrl) voidsetContentService(ContentService contentService) voidsetNamespaceService(NamespaceService namespaceService) voidsetNodeService(NodeService nodeService) voidsetSearchService(SearchService searchService) voidsetTenantService(TenantService tenantService) Methods inherited from class org.springframework.extensions.config.source.UrlConfigSource
afterPropertiesSet, processSourceString, processWildcardJarSource, setApplicationContext, setServletContextMethods inherited from class org.springframework.extensions.config.source.BaseConfigSource
addSourceString, getConfigDeployments
-
Constructor Details
-
RepoUrlConfigSource
-
RepoUrlConfigSource
-
-
Method Details
-
setTenantService
-
setSearchService
-
setContentService
-
setNamespaceService
-
setNodeService
-
getInputStream
- Overrides:
getInputStreamin classorg.springframework.extensions.config.source.UrlConfigSource
-