KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tirsen > nanning > FilterMethodsInterceptor


1 /*
2  * Nanning Aspects
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package com.tirsen.nanning;
8
9 import com.tirsen.nanning.Interceptor;
10 import com.tirsen.nanning.Invocation;
11 import com.tirsen.nanning.AspectInstance;
12 import com.tirsen.nanning.MixinInstance;
13
14 import java.lang.reflect.Method JavaDoc;
15
16
17 /**
18  * Implement this if you want to do method-level filtering when using AspectClass. Warning! If you're using
19  * AspectInstance this won't work, you have to do you method-level filtering manually.
20  *
21  * <!-- $Id: FilterMethodsInterceptor.java,v 1.7 2003/05/11 14:49:15 tirsen Exp $ -->
22  *
23  * @deprecated this is still supported but will be removed before 1.0, migrate to new AspectSystem and InterceptorAspect.
24  *
25  * @author $Author: tirsen $
26  * @version $Revision: 1.7 $
27  */

28 public interface FilterMethodsInterceptor extends MethodInterceptor {
29     boolean interceptsMethod(Method JavaDoc method);
30 }
31
Popular Tags