All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ajaxjs.ioc.aop.AopHandler Maven / Gradle / Ivy

There is a newer version: 1.2.6
Show newest version
package com.ajaxjs.ioc.aop;

import java.lang.reflect.Method;

public interface AopHandler {
	/**
	 * 前置调用
	 * 
	 * @param target     本体对象
	 * @param method     方法对象
	 * @param methodName 方法名称
	 * @param args       参数列表
	 * @return 返回任意对象
	 */
	public Object before(T target, Method method, String methodName, Object[] args) throws Throwable;

	/**
	 * 后置调用
	 * 
	 * @param target    本体对象
	 * 
	 * @param method    方法对象
	 * @param args      参数列表
	 * @param returnObj 返回结果
	 */
	public void after(T target, Method method, String methodName, Object[] args, Object returnObj);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy