| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 | 
							- <?xml version="1.0" encoding="UTF-8"?>
 
- <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:aop="http://www.springframework.org/schema/aop" xmlns:p="http://www.springframework.org/schema/p"
 
-     xsi:schemaLocation="http://www.springframework.org/schema/beans
 
- 	http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
 
- 	http://www.springframework.org/schema/context 
 
- 	http://www.springframework.org/schema/context/spring-context-3.0.xsd
 
- 	http://www.springframework.org/schema/aop
 
- 	http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">
 
-     <bean id="processEngineConfiguration"
 
-         class="org.activiti.spring.SpringProcessEngineConfiguration">
 
-         <property name="dataSource" ref="dataSource" />
 
-         <property name="transactionManager" ref="transactionManager" />
 
-         <property name="databaseSchemaUpdate" value="" />
 
-         <property name="jobExecutorActivate" value="false" />
 
-         <property name="history" value="full" />
 
-         <property name="deploymentResources">
 
-             <list>
 
-                 <!-- <value>classpath*:/deployments/*.bpmn</value>  -->
 
-             </list>
 
-         </property>
 
-  		<property name="customSessionFactories">
 
- 			<list>
 
- 				<bean class="com.xtframe.core.wf.MyUserEntityManagerFactory">
 
- 					<property name="userEntityManager" ref="myUserEntityManager" />
 
- 				</bean>
 
- 				<bean class="com.xtframe.core.wf.MyGroupEntityManagerFactory">
 
- 					<property name="groupEntityManager" ref="myGroupEntityManager" />
 
- 				</bean>
 
- 			</list>
 
- 		</property>
 
-     </bean>
 
-     <bean id="myUserEntityManager" class="com.xtframe.core.wf.MyUserEntityManager" />
 
-     <bean id="myGroupEntityManager" class="com.xtframe.core.wf.MyGroupEntityManager" />
 
-     
 
-     <bean id="processEngine" class="org.activiti.spring.ProcessEngineFactoryBean">
 
-         <property name="processEngineConfiguration" ref="processEngineConfiguration" />
 
-     </bean>
 
-     <bean id="repositoryService" factory-bean="processEngine"
 
-         factory-method="getRepositoryService" />
 
-     <bean id="runtimeService" factory-bean="processEngine"
 
-         factory-method="getRuntimeService" />
 
-     <bean id="formService" factory-bean="processEngine"
 
-         factory-method="getFormService" />
 
-     <bean id="identityService" factory-bean="processEngine"
 
-         factory-method="getIdentityService" />
 
-     <bean id="taskService" factory-bean="processEngine"
 
-         factory-method="getTaskService" />
 
-     <bean id="historyService" factory-bean="processEngine"
 
-         factory-method="getHistoryService" />
 
-     <bean id="managementService" factory-bean="processEngine"
 
-         factory-method="getManagementService" />
 
- </beans>
 
 
  |