Top Fields Constructors Methods
org.aspectj.runtime.internal

public abstract Class AroundClosure

extends Object
Class Inheritance
Imports
org.aspectj.lang.ProceedingJoinPoint

Field Summary

Modifier and TypeField and Description
protected int
protected Object[]
protected Object[]

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public int
public Object[]
public Object[]
public ProceedingJoinPoint

Returns:

the associated ProceedingJoinPoint
linkClosureAndJoinPoint
()

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

public ProceedingJoinPoint

Returns:

the associated ProceedingJoinPoint
linkClosureAndJoinPoint
(int
indicating whether this/target found at joinpoint and bound
flags
)

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

public ProceedingJoinPoint

Returns:

the associated ProceedingJoinPoint
linkStackClosureAndJoinPoint
(int
indicating whether this/target found at joinpoint and bound
flags
)

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

public abstract Object

Returns:

the result of the invocation with those arguments
run
(Object[]
the same arguments as passed to the proceed (with primitives coerced to Object types)
args
)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bitflagsback to summary
protected int bitflags
preInitializationStateback to summary
protected Object[] preInitializationState
stateback to summary
protected Object[] state

Constructor Detail

AroundClosureback to summary
public AroundClosure()
AroundClosureback to summary
public AroundClosure(Object[] state)

Method Detail

getFlagsback to summary
public int getFlags()
getPreInitializationStateback to summary
public Object[] getPreInitializationState()
getStateback to summary
public Object[] getState()
linkClosureAndJoinPointback to summary
public ProceedingJoinPoint linkClosureAndJoinPoint()

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

Returns:ProceedingJoinPoint

the associated ProceedingJoinPoint

linkClosureAndJoinPointback to summary
public ProceedingJoinPoint linkClosureAndJoinPoint(int flags)

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

Parameters
flags:int

indicating whether this/target found at joinpoint and bound

Returns:ProceedingJoinPoint

the associated ProceedingJoinPoint

linkStackClosureAndJoinPointback to summary
public ProceedingJoinPoint linkStackClosureAndJoinPoint(int flags)

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

Parameters
flags:int

indicating whether this/target found at joinpoint and bound

Returns:ProceedingJoinPoint

the associated ProceedingJoinPoint

runback to summary
public abstract Object run(Object[] args) throws Throwable
Parameters
args:Object[]

the same arguments as passed to the proceed (with primitives coerced to Object types)

Returns:Object

the result of the invocation with those arguments

Exceptions
Throwable:
if underlying invoked code throws an exception