{
	"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
		}]
	}]
}