public class RepoXMLConfigService
extends org.springframework.extensions.config.xml.XMLConfigService
implements org.alfresco.repo.tenant.TenantDeployer
configDeployers, configSourceATTR_CLASS, ATTR_CONDITION, ATTR_ELEMENT_NAME, ATTR_EVALUATOR, ATTR_ID, ATTR_NAME, ATTR_REPLACE, ATTR_VALUE, ELEMENT_CONFIG, ELEMENT_ELEMENT_READER, ELEMENT_ELEMENT_READERS, ELEMENT_EVALUATOR, ELEMENT_EVALUATORS, ELEMENT_PLUG_INS| Constructor and Description |
|---|
RepoXMLConfigService(org.springframework.extensions.config.ConfigSource configSource)
Constructs an XMLConfigService using the given config source
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected Map<String,org.springframework.extensions.config.xml.elementreader.ConfigElementReader> |
getElementReaders() |
protected Map<String,org.springframework.extensions.config.evaluator.Evaluator> |
getEvaluators() |
protected org.springframework.extensions.config.ConfigImpl |
getGlobalConfigImpl() |
ConfigDataCache.ConfigData |
getRepoConfig(String tenantDomain)
Get the repository configuration data for a given tenant.
|
List<org.springframework.extensions.config.ConfigSection> |
getSections() |
Map<String,List<org.springframework.extensions.config.ConfigSection>> |
getSectionsByArea() |
List<org.springframework.extensions.config.ConfigDeployment> |
initConfig() |
protected void |
onBootstrap(org.springframework.context.ApplicationEvent event) |
void |
onDisableTenant() |
void |
onEnableTenant() |
protected void |
onShutdown(org.springframework.context.ApplicationEvent event) |
protected void |
putElementReaders(Map<String,org.springframework.extensions.config.xml.elementreader.ConfigElementReader> elementReaders) |
protected void |
putEvaluators(Map<String,org.springframework.extensions.config.evaluator.Evaluator> evaluators) |
protected void |
putGlobalConfig(org.springframework.extensions.config.ConfigImpl globalConfig) |
protected void |
putSections(List<org.springframework.extensions.config.ConfigSection> sections) |
protected void |
putSectionsByArea(Map<String,List<org.springframework.extensions.config.ConfigSection>> sectionsByArea) |
protected void |
removeElementReaders() |
protected void |
removeEvaluators() |
protected void |
removeGlobalConfig() |
protected void |
removeSections() |
protected void |
removeSectionsByArea() |
void |
reset()
Resets the config values for the current tenant
|
void |
setConfigDataCache(ConfigDataCache configDataCache)
Set the asynchronously-controlled cache.
|
void |
setTransactionService(TransactionService transactionService) |
parse, parseFragment, setProperties, setSystemPropertiesModeNameaddConfigSection, addConfigSection, addDeployer, addEvaluator, appendConfig, createEvaluator, getConfig, getConfig, getConfig, getEvaluator, getGlobalConfig, init, parse, processSectiongetApplicationContext, onApplicationEvent, setApplicationContextpublic RepoXMLConfigService(org.springframework.extensions.config.ConfigSource configSource)
public void setTransactionService(TransactionService transactionService)
public void setConfigDataCache(ConfigDataCache configDataCache)
public List<org.springframework.extensions.config.ConfigDeployment> initConfig()
initConfig in class org.springframework.extensions.config.xml.XMLConfigServicepublic ConfigDataCache.ConfigData getRepoConfig(String tenantDomain)
tenantDomain - the current tenant domainpublic void destroy()
destroy in interface org.alfresco.repo.tenant.TenantDeployerdestroy in class org.springframework.extensions.config.xml.XMLConfigServicepublic void reset()
reset in interface org.springframework.extensions.config.ConfigServicereset in class org.springframework.extensions.config.BaseConfigServiceprotected void onBootstrap(org.springframework.context.ApplicationEvent event)
onBootstrap in class org.springframework.extensions.config.BaseConfigServiceprotected void onShutdown(org.springframework.context.ApplicationEvent event)
onShutdown in class org.springframework.extensions.config.BaseConfigServicepublic void onEnableTenant()
onEnableTenant in interface org.alfresco.repo.tenant.TenantDeployerpublic void onDisableTenant()
onDisableTenant in interface org.alfresco.repo.tenant.TenantDeployerprotected org.springframework.extensions.config.ConfigImpl getGlobalConfigImpl()
getGlobalConfigImpl in class org.springframework.extensions.config.BaseConfigServiceprotected void putGlobalConfig(org.springframework.extensions.config.ConfigImpl globalConfig)
putGlobalConfig in class org.springframework.extensions.config.BaseConfigServiceprotected void removeGlobalConfig()
removeGlobalConfig in class org.springframework.extensions.config.BaseConfigServiceprotected Map<String,org.springframework.extensions.config.evaluator.Evaluator> getEvaluators()
getEvaluators in class org.springframework.extensions.config.BaseConfigServiceprotected void putEvaluators(Map<String,org.springframework.extensions.config.evaluator.Evaluator> evaluators)
putEvaluators in class org.springframework.extensions.config.BaseConfigServiceprotected void removeEvaluators()
removeEvaluators in class org.springframework.extensions.config.BaseConfigServicepublic Map<String,List<org.springframework.extensions.config.ConfigSection>> getSectionsByArea()
getSectionsByArea in class org.springframework.extensions.config.BaseConfigServiceprotected void putSectionsByArea(Map<String,List<org.springframework.extensions.config.ConfigSection>> sectionsByArea)
putSectionsByArea in class org.springframework.extensions.config.BaseConfigServiceprotected void removeSectionsByArea()
removeSectionsByArea in class org.springframework.extensions.config.BaseConfigServicepublic List<org.springframework.extensions.config.ConfigSection> getSections()
getSections in class org.springframework.extensions.config.BaseConfigServiceprotected void putSections(List<org.springframework.extensions.config.ConfigSection> sections)
putSections in class org.springframework.extensions.config.BaseConfigServiceprotected void removeSections()
removeSections in class org.springframework.extensions.config.BaseConfigServiceprotected Map<String,org.springframework.extensions.config.xml.elementreader.ConfigElementReader> getElementReaders()
getElementReaders in class org.springframework.extensions.config.xml.XMLConfigServiceprotected void putElementReaders(Map<String,org.springframework.extensions.config.xml.elementreader.ConfigElementReader> elementReaders)
putElementReaders in class org.springframework.extensions.config.xml.XMLConfigServiceprotected void removeElementReaders()
removeElementReaders in class org.springframework.extensions.config.xml.XMLConfigServiceCopyright © 2005–2018 Alfresco Software. All rights reserved.