KickJava   Java API By Example, From Geeks To Geeks.

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


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 java.lang.reflect.Method JavaDoc;
10
11 import com.tirsen.nanning.definition.SingletonInterceptor;
12
13 /**
14  * TODO document NullInterceptor
15  *
16  * <!-- $Id: NullInterceptor.java,v 1.7 2003/05/11 11:17:17 tirsen Exp $ -->
17  *
18  * @author $Author: tirsen $
19  * @version $Revision: 1.7 $
20  */

21 public class NullInterceptor implements MethodInterceptor, SingletonInterceptor {
22     public Object JavaDoc invoke(Invocation invocation) throws Throwable JavaDoc {
23         return invocation.invokeNext();
24     }
25 }
26
Popular Tags