Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.aop.instrument
Interface JoinpointClassifier.Matcher

Enclosing interface:
  JoinpointClassifier

protected static interface JoinpointClassifier.Matcher

This interface encapsulates a matching method. This allows us to use instances of `Matcher` as references to matching methods.

Method Summary
`boolean` | `matches(Pointcut pointcut, Advisor advisor, javassist.CtMember member)` Checks if `pointcut` matches a joinpoint.

Method Detail

### matches

    public boolean matches(Pointcut pointcut,
                           Advisor advisor,
                           javassist.CtMember member)
                    throws javassist.NotFoundException

  Checks if `pointcut` matches a joinpoint. The joinpoint this method refers to is dependend of the `Macther` interface implementer. All that is known about the joinpoint is the class member related to it: `member`.

  Parameters:
    `pointcut` - the pointcut whose matching will be tested.
    `advisor` - advisor associated with the class declaring `member`.
    `member` - class member related to the joinpoint.
  Returns:
    `true` if the `pointcut` matches the joinpoint.
  Throws:
    `javassist.NotFoundException` - thrown if the matching of pointcut fails.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 JBoss Inc. All Rights Reserved.