public class TenantRepositoryContainer extends RepositoryContainer implements 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, getDescription, getRequiredAuthentication, getScriptParameters, getTemplateParameters, onApplicationEvent, setAuthorityService, setDescriptorService, setEncryptTempFiles, setFallbackTransactionHelper, setMaxContentSize, setMemoryThreshold, setRepository, setRepositoryImageResolver, setTempDirectoryName, setup, transactionedExecuteallowCallbacks, getApplicationContext, getConfigService, getFormatRegistry, getName, getScriptParameterFactoryRegistry, getScriptProcessorRegistry, getSearchPath, getTemplateProcessorRegistry, setAllowCallbacks, setApplicationContext, setConfigService, setFormatRegistry, setName, setRegistry, setScriptObjects, setScriptParameterFactoryRegistry, setScriptProcessorRegistry, setSearchPath, setTemplateObjects, setTemplateProcessorRegistryprotected 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 RepositoryContainertransactionService - service to give transactions when reading from the containerpublic org.springframework.extensions.webscripts.Registry getRegistry()
getRegistry in interface org.springframework.extensions.webscripts.ContainergetRegistry in class org.springframework.extensions.webscripts.AbstractRuntimeContainerpublic void onEnableTenant()
onEnableTenant in interface TenantDeployerpublic void onDisableTenant()
onDisableTenant in interface TenantDeployerpublic void init()
init in interface TenantDeployerpublic void destroy()
destroy in interface TenantDeployerpublic void reset()
reset in interface org.springframework.extensions.webscripts.Containerreset in class RepositoryContainerCopyright © 2005–2014 Alfresco Software. All rights reserved.