Package fr.becpg.repo.bootstrap
Class MultiTenantWorkflowBootstrap
java.lang.Object
org.springframework.extensions.surf.util.AbstractLifecycleBean
fr.becpg.repo.bootstrap.MultiTenantWorkflowBootstrap
- All Implemented Interfaces:
EventListener,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.springframework.context.ApplicationListener
public class MultiTenantWorkflowBootstrap
extends org.springframework.extensions.surf.util.AbstractLifecycleBean
MultiTenantWorkflowBootstrap class.
- Author:
- matthieu
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static org.apache.commons.logging.Logprivate org.alfresco.repo.tenant.TenantAdminServiceprivate org.alfresco.service.transaction.TransactionServiceprivate org.alfresco.service.cmr.workflow.WorkflowServiceFields inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidonBootstrap(org.springframework.context.ApplicationEvent event) protected voidonShutdown(org.springframework.context.ApplicationEvent event) voidsetTenantAdminService(org.alfresco.repo.tenant.TenantAdminService tenantAdminService) Setter for the fieldtenantAdminService.voidsetTransactionService(org.alfresco.service.transaction.TransactionService transactionService) Setter for the fieldtransactionService.voidsetWorkflowService(org.alfresco.service.cmr.workflow.WorkflowService workflowService) Setter for the fieldworkflowService.Methods inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean
getApplicationContext, onApplicationEvent, setApplicationContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Field Details
-
tenantAdminService
private org.alfresco.repo.tenant.TenantAdminService tenantAdminService -
workflowService
private org.alfresco.service.cmr.workflow.WorkflowService workflowService -
transactionService
private org.alfresco.service.transaction.TransactionService transactionService -
logger
private static org.apache.commons.logging.Log logger
-
-
Constructor Details
-
MultiTenantWorkflowBootstrap
public MultiTenantWorkflowBootstrap()
-
-
Method Details
-
setTenantAdminService
public void setTenantAdminService(org.alfresco.repo.tenant.TenantAdminService tenantAdminService) Setter for the field
tenantAdminService.- Parameters:
tenantAdminService- aTenantAdminServiceobject
-
setWorkflowService
public void setWorkflowService(org.alfresco.service.cmr.workflow.WorkflowService workflowService) Setter for the field
workflowService.- Parameters:
workflowService- aWorkflowServiceobject
-
setTransactionService
public void setTransactionService(org.alfresco.service.transaction.TransactionService transactionService) Setter for the field
transactionService.- Parameters:
transactionService- aTransactionServiceobject
-
onBootstrap
protected void onBootstrap(org.springframework.context.ApplicationEvent event) - Specified by:
onBootstrapin classorg.springframework.extensions.surf.util.AbstractLifecycleBean
-
onShutdown
protected void onShutdown(org.springframework.context.ApplicationEvent event) - Specified by:
onShutdownin classorg.springframework.extensions.surf.util.AbstractLifecycleBean
-