1 | |
package org.kuali.spring.proxy; |
2 | |
|
3 | |
import java.lang.reflect.Method; |
4 | |
|
5 | |
import net.sf.cglib.proxy.MethodProxy; |
6 | |
|
7 | |
public class CallbackContext { |
8 | |
|
9 | |
Object object; |
10 | |
Method method; |
11 | |
Object[] args; |
12 | |
MethodProxy methodProxy; |
13 | |
|
14 | |
public CallbackContext() { |
15 | 0 | this(null, null, null, null); |
16 | 0 | } |
17 | |
|
18 | |
public CallbackContext(Object object, Method method, Object[] args, MethodProxy methodProxy) { |
19 | 3420 | super(); |
20 | 3420 | this.object = object; |
21 | 3420 | this.method = method; |
22 | 3420 | this.args = args; |
23 | 3420 | this.methodProxy = methodProxy; |
24 | 3420 | } |
25 | |
|
26 | |
public Object getObject() { |
27 | 3420 | return object; |
28 | |
} |
29 | |
|
30 | |
public void setObject(Object object) { |
31 | 0 | this.object = object; |
32 | 0 | } |
33 | |
|
34 | |
public Method getMethod() { |
35 | 0 | return method; |
36 | |
} |
37 | |
|
38 | |
public void setMethod(Method method) { |
39 | 0 | this.method = method; |
40 | 0 | } |
41 | |
|
42 | |
public Object[] getArgs() { |
43 | 3420 | return args; |
44 | |
} |
45 | |
|
46 | |
public void setArgs(Object[] args) { |
47 | 0 | this.args = args; |
48 | 0 | } |
49 | |
|
50 | |
public MethodProxy getMethodProxy() { |
51 | 3420 | return methodProxy; |
52 | |
} |
53 | |
|
54 | |
public void setMethodProxy(MethodProxy methodProxy) { |
55 | 0 | this.methodProxy = methodProxy; |
56 | 0 | } |
57 | |
} |