The Spring Framework

org.springframework.aop.aspectj
Class AspectJAopUtils

java.lang.Object
  extended by org.springframework.aop.aspectj.AspectJAopUtils

public abstract class AspectJAopUtils
extends Object

Since:
2.0
Author:
Adrian Colyer

Constructor Summary
AspectJAopUtils()
           
 
Method Summary
static AspectJPrecedenceInformation getAspectJPrecedenceInformationFor(Advisor anAdvisor)
          Returns the AspectJPrecedenceInformation provided by this advisor or its advice.
static boolean isAfterAdvice(Advisor anAdvisor)
          Return true if the advisor is a form of after advice.
static boolean isBeforeAdvice(Advisor anAdvisor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AspectJAopUtils

public AspectJAopUtils()
Method Detail

isAfterAdvice

public static boolean isAfterAdvice(Advisor anAdvisor)
Return true if the advisor is a form of after advice. TODO: listing all of these implementation types here has a bad smell to it...


isBeforeAdvice

public static boolean isBeforeAdvice(Advisor anAdvisor)

getAspectJPrecedenceInformationFor

public static AspectJPrecedenceInformation getAspectJPrecedenceInformationFor(Advisor anAdvisor)
Returns the AspectJPrecedenceInformation provided by this advisor or its advice. If neither the advisor nor the advice have precedence information, will return null.


The Spring Framework

Copyright © 2002-2006 The Spring Framework.