| 构造器和说明 |
|---|
TCCResource() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
String |
getActionName()
Gets action name.
|
String |
getAppName()
Gets app name.
|
BranchType |
getBranchType()
get resource type, AT, TCC, SAGA and XA
|
Method |
getCommitMethod()
Gets commit method.
|
String |
getCommitMethodName()
Gets commit method name.
|
Method |
getPrepareMethod()
Gets prepare method.
|
String |
getResourceGroupId()
Get the resource group id.
|
String |
getResourceId()
Get the resource id.
|
Method |
getRollbackMethod()
Gets rollback method.
|
String |
getRollbackMethodName()
Gets rollback method name.
|
Object |
getTargetBean()
Gets target bean.
|
int |
hashCode() |
void |
setActionName(String actionName)
Sets action name.
|
void |
setAppName(String appName)
Sets app name.
|
void |
setCommitMethod(Method commitMethod)
Sets commit method.
|
void |
setCommitMethodName(String commitMethodName)
Sets commit method name.
|
void |
setPrepareMethod(Method prepareMethod)
Sets prepare method.
|
void |
setResourceGroupId(String resourceGroupId)
Sets resource group id.
|
void |
setRollbackMethod(Method rollbackMethod)
Sets rollback method.
|
void |
setRollbackMethodName(String rollbackMethodName)
Sets rollback method name.
|
void |
setTargetBean(Object targetBean)
Sets target bean.
|
public String getResourceGroupId()
ResourcegetResourceGroupId 在接口中 Resourcepublic void setResourceGroupId(String resourceGroupId)
resourceGroupId - the resource group idpublic String getResourceId()
ResourcegetResourceId 在接口中 Resourcepublic BranchType getBranchType()
ResourcegetBranchType 在接口中 Resourcepublic String getAppName()
public void setAppName(String appName)
appName - the app namepublic String getActionName()
public void setActionName(String actionName)
actionName - the action namepublic Object getTargetBean()
public void setTargetBean(Object targetBean)
targetBean - the target beanpublic Method getPrepareMethod()
public void setPrepareMethod(Method prepareMethod)
prepareMethod - the prepare methodpublic Method getCommitMethod()
public void setCommitMethod(Method commitMethod)
commitMethod - the commit methodpublic Method getRollbackMethod()
public void setRollbackMethod(Method rollbackMethod)
rollbackMethod - the rollback methodpublic String getCommitMethodName()
public void setCommitMethodName(String commitMethodName)
commitMethodName - the commit method namepublic String getRollbackMethodName()
public void setRollbackMethodName(String rollbackMethodName)
rollbackMethodName - the rollback method nameCopyright © 2020 Seata. All rights reserved.