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

com.frameworkset.proxy.Interceptor Maven / Gradle / Ivy

Go to download

bboss is a j2ee framework include aop/ioc,mvc,persistent,taglib,rpc,event ,bean-xml serializable and so on.http://www.bbossgroups.com

There is a newer version: 6.2.5
Show newest version
package com.frameworkset.proxy;

import java.lang.reflect.Method;

/**
 * 

Title: Interceptor

* *

Description: 拦截器定义

* *

Copyright: Copyright (c) 2005

* *

Company:

* * @author biaoping.yin * @version 1.0 */ public interface Interceptor { /** * 将拦截器方法中包含的异常抛出 * @param method * @param args * @throws Throwable */ public void before(Method method,Object[] args) throws Throwable; /** * 将拦截器方法中包含的异常抛出 * @param method * @param args * @throws Throwable */ public void after(Method method,Object[] args) throws Throwable; /** * 将拦截器方法中包含的异常抛出 * @param method * @param args * @throws Throwable */ public void afterThrowing(Method method,Object[] args,Throwable throwable) throws Throwable; // /** // * 将拦截器方法中包含的异常抛出 // * @param method // * @param args // * @throws Throwable // */ // public void afterThrowing(Method method,Object[] args) throws Throwable; /** * 将拦截器方法中包含的异常抛出 * @param method * @param args * @throws Throwable */ public void afterFinally(Method method,Object[] args) throws Throwable; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy