org.alfresco.repo.config.source
Class RepoUrlConfigSource

java.lang.Object
  extended by org.springframework.extensions.config.source.BaseConfigSource
      extended by org.springframework.extensions.config.source.UrlConfigSource
          extended by 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:

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


Field Summary
 
Fields inherited from class org.springframework.extensions.config.source.UrlConfigSource
PREFIX_CLASSPATH, PREFIX_FILE, PREFIX_HTTP, PREFIX_JAR, PREFIX_WEBAPP
 
Constructor Summary
RepoUrlConfigSource(java.util.List sourceLocations)
           
RepoUrlConfigSource(java.lang.String sourceLocation)
           
 
Method Summary
 java.io.InputStream getInputStream(java.lang.String sourceUrl)
           
 void setContentService(ContentService contentService)
           
 void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
           
 void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
           
 void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
           
 void setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
           
 
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
 

Constructor Detail

RepoUrlConfigSource

public RepoUrlConfigSource(java.lang.String sourceLocation)

RepoUrlConfigSource

public RepoUrlConfigSource(java.util.List sourceLocations)
Method Detail

setTenantService

public void setTenantService(org.alfresco.repo.tenant.TenantService tenantService)

setSearchService

public void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)

setContentService

public void setContentService(ContentService contentService)

setNamespaceService

public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)

setNodeService

public void setNodeService(org.alfresco.service.cmr.repository.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.