NotPointcut
| Kind of class: | class |
|---|---|
| Inherits from: | BasicClass |
| Implements: | |
| Author: | Simon Wacker |
| Classpath: | org.as2lib.aop.pointcut.NotPointcut |
| File last modified: | Thursday, 18 August 2005, 14:06:44 |
NotPointcut acts like the logical not "!" operator.negates the result of its
captures method.Summary
Constructor
Constructor
NotPointcut
function NotPointcut (
pointcut:Pointcut)
Constructs a new
NotPointcut instance.Parameters:
pointcut:
the pointcut whose
captures method to negateInstance methods
captures
function captures (
joinPoint:JoinPoint) : Boolean
Executes the wrapped pointcut's
captures method passing the givenjoinPoint, negates the result and returns the negation.If the wrapped pointcut specified on construction is null or
undefined, false will be returned.
Parameters:
joinPoint:
the join point to check whether it is captured
Returns:
the negated result of the execution of the
the wrapped pointcut
captures method ofthe wrapped pointcut
Specified by: