Interface org.as2lib.aop.advice.AfterAdvice

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

Description

AfterAdvice is invoked after the invocation of a specific join point, this advice has been woven-into.

This advice is always invoked, whether a specific join point returned successfully with a return value or threw an exception. If you want an advice that is only invoked after a successful return or after the throwing of an exception use the AfterReturningAdvice or AfterThrowingAdvice respectively.

Method Index

execute()

Inherited from Advice

captures(), getProxy()

Inherited from BasicInterface

toString()

Method Detail

execute

public function execute(joinPoint:JoinPoint):Void

Executes the actions that were woven-in the given joinPoint.

If you use the proxy returned by the AbstractAfterAdvice#getProxy method to overwrite the original join point, this method is invoked after the given joinPoint has been proceeded.

Parameters

joinPointthe join point this advice has been woven-into