Interface org.as2lib.aop.advice.BeforeAdvice

org.as2lib.core.BasicInterface
   +--org.as2lib.aop.Advice
      +--org.as2lib.aop.advice.BeforeAdvice

Description

BeforeAdvice is invoked before the execution of a specific join point, this advice has been woven into.

Method Index

execute()

Inherited from Advice

captures(), getProxy()

Inherited from BasicInterface

toString()

Method Detail

execute

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.

Parameters

joinPointthe join point the advice was woven into
argsthe arguments passed to the join point