Files
alfresco-community-repo/config/alfresco/workflow-context.xml
David Caruana 17ab601380 First cut of Alfresco Node support in jBPM process instances:
- NodeRefs placed into process context are converted to Script Nodes (as used in javascript)
- jBPM persistence of Nodes configured to serialize/deserialize as NodeRef strings
- jBPM process script (Beanshell) can access Alfresco Nodes in same manner as Alfresco Javascript

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3484 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-11 14:08:49 +00:00

68 lines
2.6 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/alfresco/repo/workflow/jbpm/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"/>
<property name="serviceRegistry" ref="ServiceRegistry"/>
</bean>
</beans>