org.codehaus.aspectwerkz.joinpoint.management
Class AfterAdviceExecutor

java.lang.Object
  extended byorg.codehaus.aspectwerkz.joinpoint.management.AfterAdviceExecutor
All Implemented Interfaces:
Serializable

public class AfterAdviceExecutor
extends Object
implements Serializable

Handles the execution of the after advices.

Author:
Jonas Bonér , Alexandre Vasseur
See Also:
Serialized Form

Constructor Summary
AfterAdviceExecutor(AdviceInfo[] adviceIndexes)
          Creates a new advice executor.
 
Method Summary
 boolean hasAdvices()
          Checks if the executor has any advices.
 Object proceed(JoinPointBase joinPoint)
          Executes its advices one by one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AfterAdviceExecutor

public AfterAdviceExecutor(AdviceInfo[] adviceIndexes)
Creates a new advice executor.

Parameters:
adviceIndexes -
Method Detail

proceed

public Object proceed(JoinPointBase joinPoint)
               throws Throwable
Executes its advices one by one. After the last advice has been executed, the original method is invoked.

Parameters:
joinPoint - the current join point
Returns:
null
Throws:
Throwable

hasAdvices

public boolean hasAdvices()
Checks if the executor has any advices.

Returns:
true if it has advices


Copyright © 2002-2004 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.