public abstract class AroundClosure
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
bitflags |
protected java.lang.Object[] |
preInitializationState |
protected java.lang.Object[] |
state |
Constructor and Description |
---|
AroundClosure() |
AroundClosure(java.lang.Object[] state) |
Modifier and Type | Method and Description |
---|---|
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()
|
ProceedingJoinPoint |
linkStackClosureAndJoinPoint(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) |
void |
unlink() |
protected java.lang.Object[] state
protected int bitflags
protected java.lang.Object[] preInitializationState
public AroundClosure()
public AroundClosure(java.lang.Object[] state)
public int getFlags()
public java.lang.Object[] getState()
public java.lang.Object[] getPreInitializationState()
public abstract java.lang.Object run(java.lang.Object[] args) throws java.lang.Throwable
args
- the same arguments as passed to the proceed (with primitives coerced to Object types)java.lang.Throwable
- if underlying invoked code throws an exceptionpublic ProceedingJoinPoint linkClosureAndJoinPoint()
public ProceedingJoinPoint linkStackClosureAndJoinPoint(int flags)
flags
- indicating whether this/target found at joinpoint and boundpublic ProceedingJoinPoint linkClosureAndJoinPoint(int flags)
flags
- indicating whether this/target found at joinpoint and boundpublic void unlink()