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
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends ActivitiWorkflowManager>protected ActivitiWorkflowEnginebooleanvoidsetAuthorityDAO(AuthorityDAO authorityDAO) voidsetBPMEngineRegistry(BPMEngineRegistry bpmEngineRegistry) voidsetDeployWorkflowsInTenant(boolean deployWorkflowsInTenant) voidsetDictionaryService(DictionaryService dictionaryService) voidsetEngineId(String engineId) voidsetMessageService(MessageService messageService) voidsetNamespaceService(NamespaceService namespaceService) voidsetNodeService(NodeService nodeService) voidsetPersonService(PersonService personService) voidsetProcessEngine(org.activiti.engine.ProcessEngine processEngine) voidsetRepositoryHelper(Repository repositoryHelper) voidsetRetentionHistoricProcessInstance(boolean retentionHistoricProcessInstance) voidsetServiceRegistry(ServiceRegistry serviceRegistry) voidsetTenantService(TenantService tenantService)
-
Constructor Details
-
ActivitiWorkflowManagerFactory
public ActivitiWorkflowManagerFactory()
-
-
Method Details
-
getObject
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<ActivitiWorkflowManager>- Throws:
Exception
-
instantiateWorkflowEngine
-
setTenantService
- Parameters:
tenantService- the tenantService to set
-
setMessageService
- Parameters:
messageService- the messageService to set
-
setServiceRegistry
- Parameters:
serviceRegistry- the serviceRegistry to set
-
setBPMEngineRegistry
- Parameters:
bpmEngineRegistry- the bpmEngineRegistry to set
-
setProcessEngine
public void setProcessEngine(org.activiti.engine.ProcessEngine processEngine) - Parameters:
processEngine- the processEngine to set
-
setEngineId
- Parameters:
engineId- the engineId to set
-
setRepositoryHelper
- Parameters:
repositoryHelper- the repositoryHelper to set
-
setAuthorityDAO
- Parameters:
authorityDAO- the authorityDAO to set
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<ActivitiWorkflowManager>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<ActivitiWorkflowManager>
-
setNamespaceService
- Parameters:
namespaceService- the namespaceService to set
-
setDictionaryService
- Parameters:
dictionaryService- the dictionaryService to set
-
setNodeService
- Parameters:
nodeService- the nodeService to set
-
setPersonService
- 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
-