KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > soto > aop > AfterAdvice


1 package org.sapia.soto.aop;
2
3
4 /**
5  * Defines an advice that is called after a method invocation.
6  *
7  * @author Yanick Duchesne
8  * <dl>
9  * <dt><b>Copyright:</b><dd>Copyright &#169; 2002-2003 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>
10  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
11  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
12  * </dl>
13  */

14 public interface AfterAdvice extends Advice {
15   /**
16    * This method is called after a method on the given instance
17    * was called.
18    * <p>
19    * <b>IMPORTANT</b>: implementations of this method must use the <code>invokeSuper()</code>
20    * method on the passed in <code>MethodProxy</code> instance when performing
21    * dynamic method calls.
22    *
23    * @param invocation an <code>Invocation</code> instance.
24    */

25   public void postInvoke(Invocation invocation) throws Throwable JavaDoc;
26 }
27
Popular Tags