AspectMetadata, org.aspectj.lang.reflect.AjTypeSystem
| Modifier and Type | Method and Description |
|---|---|
| public Advice | Returns: null if the method is not an AspectJ advice method
or if it is a pointcut that will be used by other advice but will not
create a Spring advice in its own rightthe candidate advice method candidateAdviceMethod, AspectJExpressionPointcut the AspectJ expression pointcut expressionPointcut, MetadataAwareAspectInstanceFactory the aspect instance factory aspectInstanceFactory, int the declaration order within the aspect declarationOrder, String the name of the aspect aspectName)Build a Spring AOP Advice for the given AspectJ advice method. |
| public Advisor | Returns: null if the method is not an AspectJ advice method
or if it is a pointcut that will be used by other advice but will not
create a Spring advice in its own rightthe candidate advice method candidateAdviceMethod, MetadataAwareAspectInstanceFactory the aspect instance factory aspectInstanceFactory, int the declaration order within the aspect declarationOrder, String the name of the aspect aspectName)Build a Spring AOP Advisor for the given AspectJ advice method. |
| public List | Returns: a list of advisors for this classthe aspect instance factory
(not the aspect instance itself in order to avoid eager instantiation) aspectInstanceFactory)Build Spring AOP Advisors for all annotated At-AspectJ methods on the specified aspect instance. |
| public boolean | Returns: whether this class is recognized by AspectJ as an aspect classthe supposed annotation-style AspectJ class clazz)Determine whether the given class is an aspect, as reported
by AspectJ's |
| public void |
| getAdvice | back to summary |
|---|---|
| public Advice getAdvice(Method candidateAdviceMethod, AspectJExpressionPointcut expressionPointcut, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrder, String aspectName) Build a Spring AOP Advice for the given AspectJ advice method.
| |
| getAdvisor | back to summary |
|---|---|
| public Advisor getAdvisor(Method candidateAdviceMethod, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrder, String aspectName) Build a Spring AOP Advisor for the given AspectJ advice method.
| |
| getAdvisors | back to summary |
|---|---|
| public List Build Spring AOP Advisors for all annotated At-AspectJ methods on the specified aspect instance.
| |
| isAspect | back to summary |
|---|---|
| public boolean isAspect(Class<?> clazz) Determine whether the given class is an aspect, as reported
by AspectJ's Will simply return
| |
| validate | back to summary |
|---|---|
| public void validate(Class<?> aspectClass) throws AopConfigException Is the given class a valid AspectJ aspect class?
| |