-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathtest-context.json
98 lines (98 loc) · 2.04 KB
/
test-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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "bearcat-dao",
"scan": ["test/mock/model"],
"beans": [{
"id": "domainDaoSupport",
"func": "lib.core.domainDaoSupport",
"scope": "prototype",
"props": [{
"name": "sqlTemplate",
"ref": "sqlTemplate"
}, {
"name": "cacheTemplate",
"ref": "cacheTemplate"
}]
}, {
"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,
"props": [{
"name": "port",
"value": 5331
}, {
"name": "host",
"value": "localhost"
}, {
"name": "user",
"value": "root"
}, {
"name": "password",
"value": "test"
}, {
"name": "database",
"value": "bearcat_dao_test"
}]
}, {
"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"
}]
}, {
"id": "personDao",
"func": "test.transaction.dao.personDao",
"props": [{
"name": "domainDaoSupport",
"ref": "domainDaoSupport"
}],
"init": "init"
}, {
"id": "personService",
"func": "test.transaction.service.personService",
"props": [{
"name": "personDao",
"ref": "personDao"
}]
}, {
"id": "person1Dao",
"func": "test.transaction.dao.person1Dao",
"props": [{
"name": "domainDaoSupport",
"ref": "domainDaoSupport"
}],
"init": "init"
}]
}