commit | author | age
|
a18bfa
|
1 |
package com.codingapi.tx.aop.service.impl; |
Z |
2 |
|
|
3 |
import com.codingapi.tx.aop.bean.TxTransactionInfo; |
|
4 |
import com.codingapi.tx.aop.service.TransactionServer; |
|
5 |
import org.aspectj.lang.ProceedingJoinPoint; |
|
6 |
import org.springframework.stereotype.Service; |
|
7 |
|
|
8 |
/** |
|
9 |
* Created by lorne on 2017/6/8. |
|
10 |
*/ |
|
11 |
@Service(value = "txDefaultTransactionServer") |
|
12 |
public class TxDefaultTransactionServerImpl implements TransactionServer { |
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
@Override |
|
17 |
public Object execute(ProceedingJoinPoint point, TxTransactionInfo info) throws Throwable { |
|
18 |
return point.proceed(); |
|
19 |
} |
|
20 |
} |