Skip to content

Commit

Permalink
注释强迫症
Browse files Browse the repository at this point in the history
  • Loading branch information
三寻 committed Dec 10, 2015
1 parent 8acc679 commit f1e8f13
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/main/resources/beans/beans-activiti.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
<!-- 引擎内部提供的UUID生成器,依赖fastxml的java-uuid-generator模块 -->
<bean id="uuidGenerator" class="org.activiti.engine.impl.persistence.StrongUuidGenerator" />

<bean id="restResponseFactory" class="org.activiti.rest.service.api.RestResponseFactory" />

<bean id="contentTypeResolver" class="org.activiti.rest.common.application.DefaultContentTypeResolver" />

<!-- Activiti begin -->
<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
<property name="dataSource" ref="dataSource"/>
Expand Down Expand Up @@ -76,6 +72,7 @@
<property name="processEngineConfiguration" ref="processEngineConfiguration"/>
</bean>

<!-- 7大接口 -->
<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"/>
Expand All @@ -84,4 +81,8 @@
<bean id="historyService" factory-bean="processEngine" factory-method="getHistoryService"/>
<bean id="managementService" factory-bean="processEngine" factory-method="getManagementService"/>

<!-- 集成REST服务需要的bean -->
<bean id="restResponseFactory" class="org.activiti.rest.service.api.RestResponseFactory" />
<bean id="contentTypeResolver" class="org.activiti.rest.common.application.DefaultContentTypeResolver" />

</beans>

0 comments on commit f1e8f13

Please sign in to comment.