| 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 | 4291 | super(); |
| 20 | 4291 | this.object = object; |
| 21 | 4291 | this.method = method; |
| 22 | 4291 | this.args = args; |
| 23 | 4291 | this.methodProxy = methodProxy; |
| 24 | 4291 | } |
| 25 | |
|
| 26 | |
public Object getObject() { |
| 27 | 4291 | 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 | 4291 | return args; |
| 44 | |
} |
| 45 | |
|
| 46 | |
public void setArgs(Object[] args) { |
| 47 | 0 | this.args = args; |
| 48 | 0 | } |
| 49 | |
|
| 50 | |
public MethodProxy getMethodProxy() { |
| 51 | 4291 | return methodProxy; |
| 52 | |
} |
| 53 | |
|
| 54 | |
public void setMethodProxy(MethodProxy methodProxy) { |
| 55 | 0 | this.methodProxy = methodProxy; |
| 56 | 0 | } |
| 57 | |
} |