/
TransactionInvocation.java
63 lines (53 loc) · 1.41 KB
/
TransactionInvocation.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*
*
* Copyright 2017-2018 549477611@qq.com(xiaoyu)
*
* This copyrighted material is made available to anyone wishing to use, modify,
* copy, or redistribute it subject to the terms and conditions of the GNU
* Lesser General Public License, as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
* for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this distribution; if not, see <http://www.gnu.org/licenses/>.
*
*/
package com.raincat.common.bean;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import java.io.Serializable;
/**
* TransactionInvocation.
* @author xiaoyu
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TransactionInvocation implements Serializable {
private static final long serialVersionUID = 7722060715819141844L;
/**
* 事务执行器.
*/
@Getter
private Class targetClazz;
/**
* 方法.
*/
@Getter
private String method;
/**
* 参数值.
*/
@Getter
private Object[] argumentValues;
/**
* 参数类型.
*/
@Getter
private Class[] argumentTypes;
}