JBoss AOP Parent POM 2.2.2.GA

org.jboss.aop.instrument
Interface JoinpointClassifier.Matcher

Enclosing class:
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
 String getJoinpointDescription(javassist.CtMember member)
          Returns a description of the joinpoint represented by member.
 boolean matches(Pointcut pointcut, Advisor advisor, javassist.CtMember member)
          Checks if pointcut matches a joinpoint.
 

Method Detail

matches

boolean matches(Pointcut pointcut,
                Advisor advisor,
                javassist.CtMember member)
                throws javassist.NotFoundException
Checks if pointcut matches a joinpoint. The type of joinpoint this method matches is an implementation detail.

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.

getJoinpointDescription

String getJoinpointDescription(javassist.CtMember member)
Returns a description of the joinpoint represented by member.

Parameters:
member - a member to be matched by this matcher
Returns:
a description of the joinpoint to be matched by this matcher using member as a parameter
See Also:
matches(Pointcut, Advisor, CtMember)

JBoss AOP Parent POM 2.2.2.GA

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.