1 16 17 package org.springframework.aop.aspectj.annotation; 18 19 import java.lang.reflect.Method ; 20 import java.util.List ; 21 22 import org.aopalliance.aop.Advice; 23 24 import org.springframework.aop.Advisor; 25 import org.springframework.aop.aspectj.AspectJExpressionPointcut; 26 import org.springframework.aop.framework.AopConfigException; 27 28 38 public interface AspectJAdvisorFactory { 39 40 51 boolean isAspect(Class <?> clazz); 52 53 61 void validate(Class <?> aspectClass) throws AopConfigException; 62 63 70 List <Advisor> getAdvisors(MetadataAwareAspectInstanceFactory aif); 71 72 82 Advisor getAdvisor(Method candidateAdviceMethod, 83 MetadataAwareAspectInstanceFactory aif, int declarationOrderInAspect, String aspectName); 84 85 101 Advice getAdvice(Method candidateAdviceMethod, AspectJExpressionPointcut pointcut, 102 MetadataAwareAspectInstanceFactory aif, int declarationOrderInAspect, String aspectName); 103 104 } 105 | Popular Tags |