public class ActionInterceptorHandler extends Object
| 构造器和说明 |
|---|
ActionInterceptorHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
doTccActionLogStore(Method method,
Object[] arguments,
TwoPhaseBusinessAction businessAction,
BusinessActionContext actionContext)
Creating Branch Record
|
protected Map<String,Object> |
fetchActionRequestContext(Method method,
Object[] arguments)
Extracting context data from parameters, add them to the context
|
protected void |
initBusinessContext(Map<String,Object> context,
Method method,
TwoPhaseBusinessAction businessAction)
Init business context
|
protected void |
initFrameworkContext(Map<String,Object> context)
Init running environment context
|
Map<String,Object> |
proceed(Method method,
Object[] arguments,
String xid,
TwoPhaseBusinessAction businessAction,
Callback<Object> targetCallback)
Handler the TCC Aspect
|
public Map<String,Object> proceed(Method method, Object[] arguments, String xid, TwoPhaseBusinessAction businessAction, Callback<Object> targetCallback) throws Throwable
method - the methodarguments - the argumentsbusinessAction - the business actiontargetCallback - the target callbackThrowable - the throwableprotected String doTccActionLogStore(Method method, Object[] arguments, TwoPhaseBusinessAction businessAction, BusinessActionContext actionContext)
method - the methodarguments - the argumentsbusinessAction - the business actionactionContext - the action contextprotected void initFrameworkContext(Map<String,Object> context)
context - the contextprotected void initBusinessContext(Map<String,Object> context, Method method, TwoPhaseBusinessAction businessAction)
context - the contextmethod - the methodbusinessAction - the business actionCopyright © 2019 Seata. All rights reserved.