-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathcontext.json
61 lines (61 loc) · 1.34 KB
/
context.json
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"name": "bearcat-dao",
"beans": [{
"id": "domainDaoSupport",
"func": "lib.core.domainDaoSupport",
"scope": "prototype",
"props": [{
"name": "sqlTemplate",
"ref": "sqlTemplate"
}, {
"name": "cacheTemplate",
"ref": "cacheTemplate"
}],
"proxy": false
}, {
"id": "sqlTemplate",
"func": "lib.template.sql.mysqlTemplate",
"props": [{
"name": "connectionManager",
"ref": "mysqlConnectionManager"
}, {
"name": "transactionManager",
"ref": "dbTransactionManager"
}]
}, {
"id": "cacheTemplate",
"func": "lib.template.cache.redisTemplate",
"props": [{
"name": "connectionManager",
"ref": "redisConnectionManager"
}]
}, {
"id": "mysqlConnectionManager",
"func": "lib.connection.sql.mysqlConnectionManager",
"proxy": false
}, {
"id": "redisConnectionManager",
"func": "lib.connection.cache.redisConnectionManager"
}, {
"id": "dbTransactionManager",
"func": "lib.transaction.dbTransactionManager",
"props": [{
"name": "connectionManager",
"ref": "mysqlConnectionManager"
}],
"proxy": false
}, {
"id": "transactionAspect",
"func": "lib.aspect.transactionAspect",
"props": [{
"name": "dbTransactionManager",
"ref": "dbTransactionManager"
}],
"aop": [{
"pointcut": "around:.*?Transaction$",
"advice": "doInTransaction",
"order": 100,
"runtime": true
}]
}]
}