001 package org.kuali.spring.proxy; 002 003 import java.lang.reflect.Method; 004 005 import net.sf.cglib.proxy.MethodProxy; 006 007 public class CallbackContext { 008 009 Object object; 010 Method method; 011 Object[] args; 012 MethodProxy methodProxy; 013 014 public CallbackContext() { 015 this(null, null, null, null); 016 } 017 018 public CallbackContext(Object object, Method method, Object[] args, MethodProxy methodProxy) { 019 super(); 020 this.object = object; 021 this.method = method; 022 this.args = args; 023 this.methodProxy = methodProxy; 024 } 025 026 public Object getObject() { 027 return object; 028 } 029 030 public void setObject(Object object) { 031 this.object = object; 032 } 033 034 public Method getMethod() { 035 return method; 036 } 037 038 public void setMethod(Method method) { 039 this.method = method; 040 } 041 042 public Object[] getArgs() { 043 return args; 044 } 045 046 public void setArgs(Object[] args) { 047 this.args = args; 048 } 049 050 public MethodProxy getMethodProxy() { 051 return methodProxy; 052 } 053 054 public void setMethodProxy(MethodProxy methodProxy) { 055 this.methodProxy = methodProxy; 056 } 057 }