public abstract class AroundClosure extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
bitflags |
protected Object[] |
preInitializationState |
protected Object[] |
state |
| Constructor and Description |
|---|
AroundClosure() |
AroundClosure(Object[] state) |
| Modifier and Type | Method and Description |
|---|---|
int |
getFlags() |
Object[] |
getPreInitializationState() |
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 Object |
run(Object[] args) |
void |
unlink() |
protected Object[] state
protected int bitflags
protected Object[] preInitializationState
public AroundClosure()
public AroundClosure(Object[] state)
public int getFlags()
public Object[] getState()
public Object[] getPreInitializationState()
public abstract Object run(Object[] args) throws Throwable
args - the same arguments as passed to the proceed (with primitives coerced to Object types)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()
Copyright © 2020. All rights reserved.