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 java.util.Map |
getElementReaders() |
protected java.util.Map |
getEvaluators() |
protected org.springframework.extensions.config.ConfigImpl |
getGlobalConfigImpl() |
java.util.List |
getSections() |
java.util.Map |
getSectionsByArea() |
java.util.List |
initConfig() |
protected void |
onBootstrap(org.springframework.context.ApplicationEvent event) |
void |
onDisableTenant() |
void |
onEnableTenant() |
protected void |
onShutdown(org.springframework.context.ApplicationEvent event) |
protected void |
putElementReaders(java.util.Map elementReaders) |
protected void |
putEvaluators(java.util.Map evaluators) |
protected void |
putGlobalConfig(org.springframework.extensions.config.ConfigImpl globalConfig) |
protected void |
putSections(java.util.List sections) |
protected void |
putSectionsByArea(java.util.Map sectionsByArea) |
protected void |
removeElementReaders() |
protected void |
removeEvaluators() |
protected void |
removeGlobalConfig() |
protected void |
removeSections() |
protected void |
removeSectionsByArea() |
void |
reset()
Resets the config service
|
void |
setAuthenticationContext(AuthenticationContext authenticationContext) |
void |
setConfigDataCache(org.alfresco.repo.cache.SimpleCache configDataCache) |
void |
setTenantAdminService(TenantAdminService tenantAdminService) |
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)
configSource - A ConfigSourcepublic void setTransactionService(TransactionService transactionService)
public void setAuthenticationContext(AuthenticationContext authenticationContext)
public void setTenantAdminService(TenantAdminService tenantAdminService)
public void setConfigDataCache(org.alfresco.repo.cache.SimpleCache configDataCache)
public java.util.List initConfig()
initConfig in class org.springframework.extensions.config.xml.XMLConfigServicepublic 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 java.util.Map getEvaluators()
getEvaluators in class org.springframework.extensions.config.BaseConfigServiceprotected void putEvaluators(java.util.Map evaluators)
putEvaluators in class org.springframework.extensions.config.BaseConfigServiceprotected void removeEvaluators()
removeEvaluators in class org.springframework.extensions.config.BaseConfigServicepublic java.util.Map getSectionsByArea()
getSectionsByArea in class org.springframework.extensions.config.BaseConfigServiceprotected void putSectionsByArea(java.util.Map sectionsByArea)
putSectionsByArea in class org.springframework.extensions.config.BaseConfigServiceprotected void removeSectionsByArea()
removeSectionsByArea in class org.springframework.extensions.config.BaseConfigServicepublic java.util.List getSections()
getSections in class org.springframework.extensions.config.BaseConfigServiceprotected void putSections(java.util.List sections)
putSections in class org.springframework.extensions.config.BaseConfigServiceprotected void removeSections()
removeSections in class org.springframework.extensions.config.BaseConfigServiceprotected java.util.Map getElementReaders()
getElementReaders in class org.springframework.extensions.config.xml.XMLConfigServiceprotected void putElementReaders(java.util.Map elementReaders)
putElementReaders in class org.springframework.extensions.config.xml.XMLConfigServiceprotected void removeElementReaders()
removeElementReaders in class org.springframework.extensions.config.xml.XMLConfigServiceCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.