public class TenantRepositoryContainer extends RepositoryContainer implements org.alfresco.repo.tenant.TenantDeployer
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
logger |
protected TenantAdminService |
tenantAdminService |
protected TransactionService |
transactionService |
Constructor and Description |
---|
TenantRepositoryContainer() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
org.springframework.extensions.webscripts.Registry |
getRegistry() |
void |
init() |
void |
onDisableTenant() |
void |
onEnableTenant() |
void |
reset() |
void |
setTenantAdminService(TenantAdminService tenantAdminService) |
void |
setTransactionService(TransactionService transactionService) |
void |
setWebScriptsRegistryCache(AsynchronouslyRefreshedCache<org.springframework.extensions.webscripts.Registry> registryCache) |
authenticate, executeScript, executeScriptInternal, getDescription, getNotPublicExceptions, getPublicExceptions, getRequiredAuthentication, getScriptParameters, getTemplateParameters, onApplicationEvent, setAuthorityService, setDescriptorService, setEncryptTempFiles, setFallbackTransactionHelper, setMaxContentSize, setMemoryThreshold, setNotPublicExceptions, setPublicExceptions, setRepository, setRepositoryImageResolver, setTempDirectoryName, setup, transactionedExecute
allowCallbacks, getApplicationContext, getConfigService, getFormatRegistry, getName, getScriptParameterFactoryRegistry, getScriptProcessorRegistry, getSearchPath, getTemplateProcessorRegistry, setAllowCallbacks, setApplicationContext, setConfigService, setFormatRegistry, setName, setRegistry, setScriptObjects, setScriptParameterFactoryRegistry, setScriptProcessorRegistry, setSearchPath, setTemplateObjects, setTemplateProcessorRegistry
protected static final org.apache.commons.logging.Log logger
protected TenantAdminService tenantAdminService
protected TransactionService transactionService
public void setWebScriptsRegistryCache(AsynchronouslyRefreshedCache<org.springframework.extensions.webscripts.Registry> registryCache)
registryCache
- asynchronously maintained cache for script registriespublic void setTenantAdminService(TenantAdminService tenantAdminService)
tenantAdminService
- service to sort out tenant contextpublic void setTransactionService(TransactionService transactionService)
setTransactionService
in class RepositoryContainer
transactionService
- service to give transactions when reading from the containerpublic org.springframework.extensions.webscripts.Registry getRegistry()
getRegistry
in interface org.springframework.extensions.webscripts.Container
getRegistry
in class org.springframework.extensions.webscripts.AbstractRuntimeContainer
public void onEnableTenant()
onEnableTenant
in interface org.alfresco.repo.tenant.TenantDeployer
public void onDisableTenant()
onDisableTenant
in interface org.alfresco.repo.tenant.TenantDeployer
public void init()
init
in interface org.alfresco.repo.tenant.TenantDeployer
public void destroy()
destroy
in interface org.alfresco.repo.tenant.TenantDeployer
public void reset()
reset
in interface org.springframework.extensions.webscripts.Container
reset
in class RepositoryContainer
Copyright © 2005–2017 Alfresco Software. All rights reserved.