View Javadoc

1   /***************************************************************************************
2    * Copyright (c) Jonas Bonér, Alexandre Vasseur. All rights reserved.                 *
3    * http://aspectwerkz.codehaus.org                                                    *
4    * ---------------------------------------------------------------------------------- *
5    * The software in this package is published under the terms of the LGPL license      *
6    * a copy of which has been included with this distribution in the license.txt file.  *
7    **************************************************************************************/
8   package org.codehaus.aspectwerkz.joinpoint;
9   
10  /***
11   * Implements the join point concept, e.g. defines a well defined point in the program flow.
12   * <p/>
13   * Provides access to runtime type information (RTTI), is therefore significantly <b>slower</b>
14   * than the usage of the {@link org.codehaus.aspectwerkz.joinpoint.StaticJoinPoint} interface.
15   *
16   * @author <a href="mailto:jboner@codehaus.org">Jonas Bonér </a>
17   */
18  public interface JoinPoint extends StaticJoinPoint {
19  
20      /***
21       * Returns the RTTI for the join point.
22       * 
23       * @return the RTTI
24       */
25      Rtti getRtti();
26  
27      /***
28       * Resets the join point. <p/>Will restart the execution chain of advice.
29       *
30       * @TODO remove for 2.0
31       * @deprecated 
32       */
33      void reset();
34  }