Access keys

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.
It wraps a pointcut and
negates the result of its captures method.

Summary

Constructor
Instance methods
Instance methods inherited from BasicClass

Constructor

NotPointcut

function NotPointcut (
pointcut:Pointcut)
Constructs a new NotPointcut instance.
Parameters:
pointcut:
the pointcut whose captures method to negate

Instance methods

captures

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.

Parameters:
joinPoint:
the join point to check whether it is captured
Returns:
the negated result of the execution of the captures method of
the wrapped pointcut