org.alfresco.repo.config.xml
Class RepoXMLConfigService
java.lang.Object
org.springframework.extensions.surf.util.AbstractLifecycleBean
org.springframework.extensions.config.BaseConfigService
org.springframework.extensions.config.xml.XMLConfigService
org.alfresco.repo.config.xml.RepoXMLConfigService
- All Implemented Interfaces:
- java.util.EventListener, org.alfresco.repo.tenant.TenantDeployer, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener, org.springframework.extensions.config.ConfigService, org.springframework.extensions.config.xml.XMLConfigConstants
public class RepoXMLConfigService
- extends org.springframework.extensions.config.xml.XMLConfigService
- implements org.alfresco.repo.tenant.TenantDeployer
XML-based configuration service which can optionally read config from the Repository
Nested classes/interfaces inherited from class org.springframework.extensions.config.xml.XMLConfigService |
org.springframework.extensions.config.xml.XMLConfigService.PlaceholderResolvingStringValueResolver, org.springframework.extensions.config.xml.XMLConfigService.PropertyConfigurer |
Fields inherited from class org.springframework.extensions.config.BaseConfigService |
configDeployers, configSource |
Fields inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean |
log |
Fields inherited from interface org.springframework.extensions.config.xml.XMLConfigConstants |
ATTR_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 Summary |
RepoXMLConfigService(org.springframework.extensions.config.ConfigSource configSource)
Constructs an XMLConfigService using the given config source |
Methods inherited from class org.springframework.extensions.config.xml.XMLConfigService |
parse, setProperties, setSystemPropertiesModeName |
Methods inherited from class org.springframework.extensions.config.BaseConfigService |
addConfigSection, addDeployer, addEvaluator, appendConfig, createEvaluator, getConfig, getConfig, getEvaluator, getGlobalConfig, init, parse, processSection |
Methods inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean |
getApplicationContext, onApplicationEvent, setApplicationContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.alfresco.repo.tenant.TenantDeployer |
init |
RepoXMLConfigService
public RepoXMLConfigService(org.springframework.extensions.config.ConfigSource configSource)
- Constructs an XMLConfigService using the given config source
- Parameters:
configSource
- A ConfigSource
setTransactionService
public void setTransactionService(TransactionService transactionService)
setAuthenticationContext
public void setAuthenticationContext(AuthenticationContext authenticationContext)
setTenantAdminService
public void setTenantAdminService(TenantAdminService tenantAdminService)
setConfigDataCache
public void setConfigDataCache(org.alfresco.repo.cache.SimpleCache configDataCache)
initConfig
public java.util.List initConfig()
- Overrides:
initConfig
in class org.springframework.extensions.config.xml.XMLConfigService
destroy
public void destroy()
- Specified by:
destroy
in interface org.alfresco.repo.tenant.TenantDeployer
- Overrides:
destroy
in class org.springframework.extensions.config.xml.XMLConfigService
reset
public void reset()
- Resets the config service
- Specified by:
reset
in interface org.springframework.extensions.config.ConfigService
- Overrides:
reset
in class org.springframework.extensions.config.BaseConfigService
onBootstrap
protected void onBootstrap(org.springframework.context.ApplicationEvent event)
- Overrides:
onBootstrap
in class org.springframework.extensions.config.BaseConfigService
onShutdown
protected void onShutdown(org.springframework.context.ApplicationEvent event)
- Overrides:
onShutdown
in class org.springframework.extensions.config.BaseConfigService
onEnableTenant
public void onEnableTenant()
- Specified by:
onEnableTenant
in interface org.alfresco.repo.tenant.TenantDeployer
onDisableTenant
public void onDisableTenant()
- Specified by:
onDisableTenant
in interface org.alfresco.repo.tenant.TenantDeployer
getGlobalConfigImpl
protected org.springframework.extensions.config.ConfigImpl getGlobalConfigImpl()
- Overrides:
getGlobalConfigImpl
in class org.springframework.extensions.config.BaseConfigService
putGlobalConfig
protected void putGlobalConfig(org.springframework.extensions.config.ConfigImpl globalConfig)
- Overrides:
putGlobalConfig
in class org.springframework.extensions.config.BaseConfigService
removeGlobalConfig
protected void removeGlobalConfig()
- Overrides:
removeGlobalConfig
in class org.springframework.extensions.config.BaseConfigService
getEvaluators
protected java.util.Map getEvaluators()
- Overrides:
getEvaluators
in class org.springframework.extensions.config.BaseConfigService
putEvaluators
protected void putEvaluators(java.util.Map evaluators)
- Overrides:
putEvaluators
in class org.springframework.extensions.config.BaseConfigService
removeEvaluators
protected void removeEvaluators()
- Overrides:
removeEvaluators
in class org.springframework.extensions.config.BaseConfigService
getSectionsByArea
protected java.util.Map getSectionsByArea()
- Overrides:
getSectionsByArea
in class org.springframework.extensions.config.BaseConfigService
putSectionsByArea
protected void putSectionsByArea(java.util.Map sectionsByArea)
- Overrides:
putSectionsByArea
in class org.springframework.extensions.config.BaseConfigService
removeSectionsByArea
protected void removeSectionsByArea()
- Overrides:
removeSectionsByArea
in class org.springframework.extensions.config.BaseConfigService
getSections
protected java.util.List getSections()
- Overrides:
getSections
in class org.springframework.extensions.config.BaseConfigService
putSections
protected void putSections(java.util.List sections)
- Overrides:
putSections
in class org.springframework.extensions.config.BaseConfigService
removeSections
protected void removeSections()
- Overrides:
removeSections
in class org.springframework.extensions.config.BaseConfigService
getElementReaders
protected java.util.Map getElementReaders()
- Overrides:
getElementReaders
in class org.springframework.extensions.config.xml.XMLConfigService
putElementReaders
protected void putElementReaders(java.util.Map elementReaders)
- Overrides:
putElementReaders
in class org.springframework.extensions.config.xml.XMLConfigService
removeElementReaders
protected void removeElementReaders()
- Overrides:
removeElementReaders
in class org.springframework.extensions.config.xml.XMLConfigService
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.