| 程序包 | 说明 |
|---|---|
| me.wuwenbin.data.jdbc.aop | |
| me.wuwenbin.data.jdbc.factory |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DataSourceAspect.switchDataSource(org.aspectj.lang.JoinPoint joinPoint)
before method to switch dataSource
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DaoFactory.determineTargetDao()
根据当前线程中的变量来确定切换的dynamicDao
|
AncestorDao |
DaoFactory.getAncestorDaoByKey(String key)
transfer dao by key you set just now
|
Copyright © 2019. All rights reserved.