org.jboss.aop.pointcut
Class AdvisorMatcherStrategy

java.lang.Object
  extended by org.jboss.aop.pointcut.MatcherStrategy
      extended by org.jboss.aop.pointcut.AdvisorMatcherStrategy

public class AdvisorMatcherStrategy
extends MatcherStrategy

Strategy to allow for different handling for the pointcut matchers for different types of advisor This one uses the "default" strategy, used for normal advisors

Version:
$Revision: 70842 $
Author:
Kabir Khan

Constructor Summary
AdvisorMatcherStrategy()
           
 
Method Summary
protected  boolean checkIntroductions(Class<?> clazz, ClassExpression instanceOf, Advisor advisor)
           
 Class<?> getDeclaringClass(Advisor advisor, Method m)
           
 
Methods inherited from class org.jboss.aop.pointcut.MatcherStrategy
getMatcher, subtypeOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdvisorMatcherStrategy

public AdvisorMatcherStrategy()
Method Detail

checkIntroductions

protected boolean checkIntroductions(Class<?> clazz,
                                     ClassExpression instanceOf,
                                     Advisor advisor)
Specified by:
checkIntroductions in class MatcherStrategy

getDeclaringClass

public Class<?> getDeclaringClass(Advisor advisor,
                                  Method m)
Specified by:
getDeclaringClass in class MatcherStrategy


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