org.aspectj.runtime.internal
Class AroundClosure

java.lang.Object
  extended by org.aspectj.runtime.internal.AroundClosure

public abstract class AroundClosure
extends java.lang.Object


Constructor Summary
AroundClosure()
           
AroundClosure(java.lang.Object[] state)
           
 
Method Summary
 int getFlags()
           
 java.lang.Object[] getPreInitializationState()
           
 java.lang.Object[] getState()
           
 ProceedingJoinPoint linkClosureAndJoinPoint()
          This method is called to implicitly associate the closure with the joinpoint as required for @AJ aspect proceed()
 ProceedingJoinPoint linkClosureAndJoinPoint(int flags)
          This method is called to implicitly associate the closure with the joinpoint as required for @AJ aspect proceed()
abstract  java.lang.Object run(java.lang.Object[] args)
          This takes in the same arguments as are passed to the proceed call in the around advice (with primitives coerced to Object types)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AroundClosure

public AroundClosure()

AroundClosure

public AroundClosure(java.lang.Object[] state)
Method Detail

getFlags

public int getFlags()

getState

public java.lang.Object[] getState()

getPreInitializationState

public java.lang.Object[] getPreInitializationState()

run

public abstract java.lang.Object run(java.lang.Object[] args)
                              throws java.lang.Throwable
This takes in the same arguments as are passed to the proceed call in the around advice (with primitives coerced to Object types)

Throws:
java.lang.Throwable

linkClosureAndJoinPoint

public ProceedingJoinPoint linkClosureAndJoinPoint()
This method is called to implicitly associate the closure with the joinpoint as required for @AJ aspect proceed()


linkClosureAndJoinPoint

public ProceedingJoinPoint linkClosureAndJoinPoint(int flags)
This method is called to implicitly associate the closure with the joinpoint as required for @AJ aspect proceed()