com.codingapi.tx.model.TransactionInvocation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tx-client Show documentation
Show all versions of tx-client Show documentation
tx-client project for Spring Boot
package com.codingapi.tx.model;
import java.io.Serializable;
/**
* create by lorne on 2017/11/11
*/
public class TransactionInvocation implements Serializable{
/**
* 事务执行器
*/
private Class targetClazz;
/**
* 方法
*/
private String method;
/**
* 参数值
*/
private Object[] argumentValues;
/**
* 参数类型
*/
private Class[] parameterTypes;
/**
* 方法字符串
*/
private String methodStr;
public TransactionInvocation() {
}
public TransactionInvocation(Class targetClazz, String method, String methodStr, Object[] argumentValues, Class[] parameterTypes) {
this.targetClazz = targetClazz;
this.method = method;
this.methodStr = methodStr;
this.argumentValues = argumentValues;
this.parameterTypes = parameterTypes;
}
public String getMethodStr() {
return methodStr;
}
public void setMethodStr(String methodStr) {
this.methodStr = methodStr;
}
public Class getTargetClazz() {
return targetClazz;
}
public void setTargetClazz(Class targetClazz) {
this.targetClazz = targetClazz;
}
public String getMethod() {
return method;
}
public void setMethod(String method) {
this.method = method;
}
public Object[] getArgumentValues() {
return argumentValues;
}
public void setArgumentValues(Object[] argumentValues) {
this.argumentValues = argumentValues;
}
public Class[] getParameterTypes() {
return parameterTypes;
}
public void setParameterTypes(Class[] parameterTypes) {
this.parameterTypes = parameterTypes;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy