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

    Fields
    Modifier and Type
    Field
    Description
    private static org.apache.commons.logging.Log
     
    private org.alfresco.repo.tenant.TenantAdminService
     
    private org.alfresco.service.transaction.TransactionService
     
    private org.alfresco.service.cmr.workflow.WorkflowService
     

    Fields inherited from class org.springframework.extensions.surf.util.AbstractLifecycleBean

    log
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    onBootstrap(org.springframework.context.ApplicationEvent event)
    protected void
    onShutdown(org.springframework.context.ApplicationEvent event)
    void
    setTenantAdminService(org.alfresco.repo.tenant.TenantAdminService tenantAdminService)
    Setter for the field tenantAdminService.
    void
    setTransactionService(org.alfresco.service.transaction.TransactionService transactionService)
    Setter for the field transactionService.
    void
    setWorkflowService(org.alfresco.service.cmr.workflow.WorkflowService workflowService)
    Setter for the field workflowService.

    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.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 - a TenantAdminService object
    • setWorkflowService

      public void setWorkflowService(org.alfresco.service.cmr.workflow.WorkflowService workflowService)

      Setter for the field workflowService.

      Parameters:
      workflowService - a WorkflowService object
    • setTransactionService

      public void setTransactionService(org.alfresco.service.transaction.TransactionService transactionService)

      Setter for the field transactionService.

      Parameters:
      transactionService - a TransactionService object
    • onBootstrap

      protected void onBootstrap(org.springframework.context.ApplicationEvent event)
      Specified by:
      onBootstrap in class org.springframework.extensions.surf.util.AbstractLifecycleBean
    • onShutdown

      protected void onShutdown(org.springframework.context.ApplicationEvent event)
      Specified by:
      onShutdown in class org.springframework.extensions.surf.util.AbstractLifecycleBean