org.as2lib.core.BasicClass +--org.as2lib.aop.pointcut.NotPointcut
Pointcut
NotPointcut
acts like the logical not "!" operator. It wraps a pointcut and
negates the result of its captures
method.
public function NotPointcut(pointcut:Pointcut)
Constructs a new NotPointcut
instance.
pointcut | the pointcut whose captures method to negate
|
public function captures(joinPoint:JoinPoint):Boolean
Executes the wrapped pointcut's captures
method passing the given
joinPoint
, negates the result and returns the negation.
If the wrapped pointcut specified on construction is null
or
undefined
, false
will be returned.
joinPoint | the join point to check whether it is captured |
the negated result of the execution of the captures
method of
the wrapped pointcut