forked from camunda/camunda-bpm-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathengine.xml
executable file
·29 lines (25 loc) · 1.49 KB
/
engine.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
">
<!-- bind the process engine service as Spring Bean -->
<bean name="processEngineService" class="org.camunda.bpm.BpmPlatform"
factory-method="getProcessEngineService" />
<!-- bind the default process engine as Spring Bean -->
<bean name="defaultProcessEngine" factory-bean="processEngineService"
factory-method="getDefaultProcessEngine" />
<bean id="repositoryService" factory-bean="defaultProcessEngine"
factory-method="getRepositoryService" />
<bean id="runtimeService" factory-bean="defaultProcessEngine"
factory-method="getRuntimeService" />
<bean id="taskService" factory-bean="defaultProcessEngine"
factory-method="getTaskService" />
<bean id="historyService" factory-bean="defaultProcessEngine"
factory-method="getHistoryService" />
<bean id="managementService" factory-bean="defaultProcessEngine"
factory-method="getManagementService" />
</beans>