⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 invocationinfo.java

📁 动态代理的代码例子
💻 JAVA
字号:
import java.lang.reflect.Method;

public class InvocationInfo {
	Object proxy;
	Method method;
	Object[] args;
	Object result;
	Throwable Exception;

	public InvocationInfo(Object proxy, Method method, Object[] args,
			Object result, Throwable exception) {
		super();
		this.proxy = proxy;
		this.method = method;
		this.args = args;
		this.result = result;
		Exception = exception;
	}

	public Object getResult() {
		return result;
	}

	public void setResult(Object result) {
		this.result = result;
	}

	public Object[] getArgs() {
		return args;
	}

	public void setArgs(Object[] args) {
		this.args = args;
	}

	public Throwable getException() {
		return Exception;
	}

	public void setException(Throwable exception) {
		Exception = exception;
	}

	public Method getMethod() {
		return method;
	}

	public void setMethod(Method method) {
		this.method = method;
	}

	public Object getProxy() {
		return proxy;
	}

	public void setProxy(Object proxy) {
		this.proxy = proxy;
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -