Integration of "Activiti" Activiti with spring

Source: Internet
Author: User

<?xml version= "1.0" encoding= "UTF-8"? ><beans xmlns= "Http://www.springframework.org/schema/beans"Xmlns:context= "Http://www.springframework.org/schema/context"XMLNS:AOP= "HTTP://WWW.SPRINGFRAMEWORK.ORG/SCHEMA/AOP" xmlns:tx= "Http://www.springframework.org/schema/tx"xmlns:p= "http://www.springframework.org/schema/p" xmlns:mvc= "Http://www.springframework.org/schema/mvc"Xmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"xsi:schemalocation="http//Www.springframework.org/schema/beanshttp//www.springframework.org/schema/beans/spring-beans.xsdhttp//Www.springframework.org/schema/contexthttp//www.springframework.org/schema/context/spring-context.xsdhttp//WWW.SPRINGFRAMEWORK.ORG/SCHEMA/AOPhttp//www.springframework.org/schema/aop/spring-aop.xsdhttp//Www.springframework.org/schema/txhttp//www.springframework.org/schema/tx/spring-tx.xsdhttp//Www.springframework.org/schema/mvchttp//www.springframework.org/schema/mvc/spring-mvc.xsd"> <!--Engine Configuration Object--<bean id=" Processengineconfiguration "class= "Org.activiti.spring.SpringProcessEngineConfiguration" > <property name= "dataSource" ref= "DataSource"/>& lt;! --Use the DataSource---<property name= "Databaseschemaupdate" value= "true"/><!--Activiti to build a table policy in spring --<property name= "TransactionManager" ref= "TransactionManager"/><!--use spring already configured transaction manager--&L T;/bean> <!--processengine objects--<bean id= "Processengine"class= "Org.activiti.spring.ProcessEngineFactoryBean" > <property name= "processengineconfiguration" ref= " Processengineconfiguration "/> </bean> <!--deliver Wokrflow core service to spring Management--<bean id=" repository Service "factory-bean=" Processengine "factory-method=" Getrepositoryservice "/> <bean id=" RuntimeService "facto Ry-bean= "Processengine" factory-method= "Getruntimeservice"/> <bean id= "Taskservice" factory-bean= " Processengine "factory-method=" Gettaskservice "/> <bean id=" Historyservice "factory-bean=" processEngine "facto ry-method= "Gethistoryservice"/> <bean id= "Managementservice" factory-bean= "Processengine" factory-method= " Getmanagementservice "/> <!--Business Services-<bean id=" WorkflowService "class= "Com.tabchanj.crm.service.impl.WorkFlowServiceImpl" > <property name= "repositoeyservice" ref= " Repositoryservice "></property> <property name=" Runtimeservice "ref=" Runtimeservice "></property > </bean> </beans>

Integration of "Activiti" Activiti with spring

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.