Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
97b1d200
Commit
97b1d200
authored
Oct 17, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[dev] use singole applicaitoncontext
parent
ee2241bb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
41 deletions
+31
-41
applicationContext-activiti.xml
atms-api/src/main/resources/applicationContext-activiti.xml
+0
-40
applicationContext.xml
atms-api/src/main/resources/applicationContext.xml
+31
-0
web.xml
atms-api/src/main/webapp/WEB-INF/web.xml
+0
-1
No files found.
atms-api/src/main/resources/applicationContext-activiti.xml
deleted
100644 → 0
View file @
ee2241bb
<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns=
"http://www.springframework.org/schema/beans"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"
>
<import
resource=
"applicationContext-datasource.xml"
/>
<bean
id=
"transactionManagerWorkflow"
class=
"org.springframework.jdbc.datasource.DataSourceTransactionManager"
>
<property
name=
"dataSource"
ref=
"dataSource"
/>
</bean>
<bean
id=
"processEngineConfiguration"
class=
"org.activiti.spring.SpringProcessEngineConfiguration"
>
<property
name=
"dataSource"
ref=
"dataSource"
/>
<property
name=
"transactionManager"
ref=
"transactionManagerWorkflow"
/>
<property
name=
"databaseSchemaUpdate"
value=
"true"
/>
<property
name=
"jobExecutorActivate"
value=
"true"
/>
<!-- 以下2个是为了防止生成流程图片时出现乱码 -->
<property
name=
"activityFontName"
value=
"宋体"
/>
<property
name=
"labelFontName"
value=
"宋体"
/>
</bean>
<!-- 流程引擎 -->
<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=
"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"
/>
<bean
id=
"IdentityService"
factory-bean=
"processEngine"
factory-method=
"getIdentityService"
/>
</beans>
\ No newline at end of file
atms-api/src/main/resources/applicationContext.xml
View file @
97b1d200
...
...
@@ -99,4 +99,34 @@
<property
name=
"cacheManager"
ref=
"cacheManagerFactory"
/>
</bean>
<!-- atms activit for workflow-->
<bean
id=
"processEngineConfiguration"
class=
"org.activiti.spring.SpringProcessEngineConfiguration"
>
<property
name=
"dataSource"
ref=
"dataSource"
/>
<property
name=
"transactionManager"
ref=
"transactionManager"
/>
<property
name=
"databaseSchemaUpdate"
value=
"true"
/>
<property
name=
"jobExecutorActivate"
value=
"true"
/>
<!-- 以下2个是为了防止生成流程图片时出现乱码 -->
<property
name=
"activityFontName"
value=
"宋体"
/>
<property
name=
"labelFontName"
value=
"宋体"
/>
</bean>
<!-- 流程引擎 -->
<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=
"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"
/>
<bean
id=
"IdentityService"
factory-bean=
"processEngine"
factory-method=
"getIdentityService"
/>
</beans>
\ No newline at end of file
atms-api/src/main/webapp/WEB-INF/web.xml
View file @
97b1d200
...
...
@@ -22,7 +22,6 @@
classpath:applicationContext.xml
classpath:applicationContext-mvc.xml
classpath:applicationContext-security.xml
classpath:applicationContext-activiti.xml
</param-value>
</context-param>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment