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 org.alfresco.repo.tenant.TenantAdminService |
tenantAdminService |
protected org.alfresco.service.transaction.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(org.alfresco.repo.tenant.TenantAdminService tenantAdminService) |
void |
setTransactionService(org.alfresco.service.transaction.TransactionService transactionService) |
void |
setWebScriptsRegistryCache(org.alfresco.repo.cache.AsynchronouslyRefreshedCache registryCache) |
authenticate, executeScript, getDescription, getRequiredAuthentication, getScriptParameters, getTemplateParameters, onApplicationEvent, setAuthorityService, setDescriptorService, setEncryptTempFiles, setFallbackTransactionHelper, setMaxContentSize, setMemoryThreshold, 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 org.alfresco.repo.tenant.TenantAdminService tenantAdminService
protected org.alfresco.service.transaction.TransactionService transactionService
public void setWebScriptsRegistryCache(org.alfresco.repo.cache.AsynchronouslyRefreshedCache registryCache)
registryCache
- asynchronously maintained cache for script registriespublic void setTenantAdminService(org.alfresco.repo.tenant.TenantAdminService tenantAdminService)
tenantAdminService
- service to sort out tenant contextpublic void setTransactionService(org.alfresco.service.transaction.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 - 2013 Alfresco Software, Inc. All Rights Reserved.