mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
- Process deploy/isDeployed/undeploy implemented in Workflow Service - Servlet implemented to support jBPM Process Designer deployment (using above service) : mapped to /alfresco/jbpm/deployprocess URL - Workflow deployer bootstrap bean (for once- only loading of process definitions at bootstrap) - Initial cut of Review & Approve process definition & Task definitions (bootstrapped) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3477 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
67 lines
2.5 KiB
XML
67 lines
2.5 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
|
|
|
|
<beans>
|
|
|
|
<!-- -->
|
|
<!-- Workflow Definitions -->
|
|
<!-- -->
|
|
|
|
<bean id="workflow.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
|
|
<property name="models">
|
|
<list>
|
|
<value>alfresco/model/bpmModel.xml</value>
|
|
<value>alfresco/model/workflowModel.xml</value>
|
|
</list>
|
|
</property>
|
|
</bean>
|
|
|
|
<bean id="workflowDeployer" class="org.alfresco.repo.workflow.WorkflowDeployer" abstract="true">
|
|
<property name="transactionService" ref="transactionComponent"/>
|
|
<property name="authenticationComponent" ref="authenticationComponent" />
|
|
<property name="workflowService" ref="WorkflowService" />
|
|
</bean>
|
|
|
|
<!-- -->
|
|
<!-- Workflow Service Implementation -->
|
|
<!-- -->
|
|
|
|
<bean id="workflowServiceImpl" class="org.alfresco.repo.workflow.WorkflowServiceImpl">
|
|
<property name="BPMEngineRegistry" ref="bpm_engineRegistry"/>
|
|
</bean>
|
|
|
|
<!-- -->
|
|
<!-- Alfresco BPM Registry -->
|
|
<!-- -->
|
|
|
|
<bean id="bpm_engineRegistry" class="org.alfresco.repo.workflow.BPMEngineRegistry">
|
|
</bean>
|
|
|
|
<bean id="bpm_engine" class="org.alfresco.repo.workflow.BPMEngine" abstract="true">
|
|
<property name="BPMEngineRegistry" ref="bpm_engineRegistry"/>
|
|
</bean>
|
|
|
|
<!-- -->
|
|
<!-- jBPM Implementation -->
|
|
<!-- -->
|
|
|
|
<bean id="jbpm_configuration" class="org.springmodules.workflow.jbpm31.LocalJbpmConfigurationFactoryBean">
|
|
<property name="sessionFactory" ref="sessionFactory"/>
|
|
<property name="configuration" value="classpath:org/jbpm/default.jbpm.cfg.xml"/>
|
|
</bean>
|
|
|
|
<bean id="jbpm_template" class="org.springmodules.workflow.jbpm31.JbpmTemplate">
|
|
<constructor-arg index="0" ref="jbpm_configuration"/>
|
|
</bean>
|
|
|
|
<bean id="jbpm_engine" class="org.alfresco.repo.workflow.jbpm.JBPMEngine" parent="bpm_engine">
|
|
<property name="engineId" value="jbpm"/>
|
|
<property name="JBPMTemplate" ref="jbpm_template"/>
|
|
<property name="dictionaryService" ref="DictionaryService"/>
|
|
<property name="namespaceService" ref="NamespaceService"/>
|
|
<property name="nodeService" ref="nodeService"/>
|
|
<property name="personService" ref="personService"/>
|
|
</bean>
|
|
|
|
</beans>
|