AdviceFactory acts as provider for instances of type Advice.
public function getAdviceByStringAndCall(pointcut:String, callback:Call):Advice
Returns an advice configured for the given pointcut string and
callback.
pointcut | the string representation of a pointcut used by the returned advice |
callback | the callback that is executed if you invoke the execute
method on the returned advice
|
an advice that is configured with the given pointcut and
callback
public function getAdviceByPointcutAndCall(pointcut:Pointcut, callback:Call):Advice
Returns an advice configured for the given pointcut and callback.
pointcut | the pointcut used by the returned advice |
callback | the callback that is executed if you invoke the execute
method on the returned advice
|
an advice that is configured with the given pointcut and
callback