org.alfresco.repo.workflow.activiti
Class ActivitiEngineInitializer

java.lang.Object
  extended by org.alfresco.repo.workflow.activiti.ActivitiEngineInitializer
All Implemented Interfaces:
java.util.EventListener, org.springframework.context.ApplicationListener

public class ActivitiEngineInitializer
extends java.lang.Object
implements org.springframework.context.ApplicationListener

Class that waits for an SchemaAvailableEvent to start the activiti job executor.

Since:
4.0

Constructor Summary
ActivitiEngineInitializer()
           
 
Method Summary
 void onApplicationEvent(org.springframework.context.ApplicationEvent event)
           
 void setProcessEngine(org.activiti.engine.ProcessEngine processEngine)
           
 void setWorkflowAdminService(WorkflowAdminService workflowAdminService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivitiEngineInitializer

public ActivitiEngineInitializer()
Method Detail

setProcessEngine

public void setProcessEngine(org.activiti.engine.ProcessEngine processEngine)

setWorkflowAdminService

public void setWorkflowAdminService(WorkflowAdminService workflowAdminService)

onApplicationEvent

public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
Specified by:
onApplicationEvent in interface org.springframework.context.ApplicationListener


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.