Class ActivitiWorkflowManagerFactory

java.lang.Object
org.alfresco.repo.workflow.activiti.ActivitiWorkflowManagerFactory
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<ActivitiWorkflowManager>

public class ActivitiWorkflowManagerFactory extends Object implements org.springframework.beans.factory.FactoryBean<ActivitiWorkflowManager>
Since:
3.4.e
Author:
Nick Smith
  • Constructor Details

    • ActivitiWorkflowManagerFactory

      public ActivitiWorkflowManagerFactory()
  • Method Details

    • getObject

      public ActivitiWorkflowManager getObject() throws Exception
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<ActivitiWorkflowManager>
      Throws:
      Exception
    • instantiateWorkflowEngine

      protected ActivitiWorkflowEngine instantiateWorkflowEngine()
    • setTenantService

      public void setTenantService(TenantService tenantService)
      Parameters:
      tenantService - the tenantService to set
    • setMessageService

      public void setMessageService(MessageService messageService)
      Parameters:
      messageService - the messageService to set
    • setServiceRegistry

      public void setServiceRegistry(ServiceRegistry serviceRegistry)
      Parameters:
      serviceRegistry - the serviceRegistry to set
    • setBPMEngineRegistry

      public void setBPMEngineRegistry(BPMEngineRegistry bpmEngineRegistry)
      Parameters:
      bpmEngineRegistry - the bpmEngineRegistry to set
    • setProcessEngine

      public void setProcessEngine(org.activiti.engine.ProcessEngine processEngine)
      Parameters:
      processEngine - the processEngine to set
    • setEngineId

      public void setEngineId(String engineId)
      Parameters:
      engineId - the engineId to set
    • setRepositoryHelper

      public void setRepositoryHelper(Repository repositoryHelper)
      Parameters:
      repositoryHelper - the repositoryHelper to set
    • setAuthorityDAO

      public void setAuthorityDAO(AuthorityDAO authorityDAO)
      Parameters:
      authorityDAO - the authorityDAO to set
    • getObjectType

      public Class<? extends ActivitiWorkflowManager> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<ActivitiWorkflowManager>
    • isSingleton

      public boolean isSingleton()
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean<ActivitiWorkflowManager>
    • setNamespaceService

      public void setNamespaceService(NamespaceService namespaceService)
      Parameters:
      namespaceService - the namespaceService to set
    • setDictionaryService

      public void setDictionaryService(DictionaryService dictionaryService)
      Parameters:
      dictionaryService - the dictionaryService to set
    • setNodeService

      public void setNodeService(NodeService nodeService)
      Parameters:
      nodeService - the nodeService to set
    • setPersonService

      public void setPersonService(PersonService personService)
      Parameters:
      personService - the personService to set
    • setDeployWorkflowsInTenant

      public void setDeployWorkflowsInTenant(boolean deployWorkflowsInTenant)
      Parameters:
      deployWorkflowsInTenant - wether or not to deploy workflows in multi-tenant context.
    • setRetentionHistoricProcessInstance

      public void setRetentionHistoricProcessInstance(boolean retentionHistoricProcessInstance)
      Parameters:
      retentionHistoricProcessInstance - whether or not to retain the process instance