org.as2lib.core.BasicInterface +--org.as2lib.aop.Advice +--org.as2lib.aop.advice.BeforeAdvice
BeforeAdvice
is invoked before the execution of a specific join point, this
advice has been woven into.
public function execute(joinPoint:JoinPoint, args:Array):Void
Executes the actions to perform before the joinPoint
is proceeded.
It is not possible to alter the context of the procession of the join point.
The passed-in args
are just a copy of the arguments passed-to the join
point.
If you use the proxy returned by the
method to overwrite the actual join point, this method is invoked before the
given
joinPoint
is proceeded with the values of the given args
.
joinPoint | the join point the advice was woven into |
args | the arguments passed to the join point |