| Modifier and Type | Class and Description |
|---|---|
| protected static class | ReflectiveAspectJAdvisorFactory.
Synthetic advisor that instantiates the aspect. |
| Modifier and Type | Field and Description |
|---|---|
| private static final Comparator | |
| private static final ReflectionUtils. | |
| private final BeanFactory |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ReflectiveAspectJAdvisorFactory(BeanFactory
the BeanFactory to propagate (may be beanFactory)null}Create a new |
| Modifier and Type | Method and Description |
|---|---|
| public Advice | getAdvice(Method
the 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)Implements org. Build a Spring AOP Advice for the given AspectJ advice method. |
| public Advisor | getAdvisor(Method
the candidate advice method candidateAdviceMethod, MetadataAwareAspectInstanceFactory the aspect instance factory aspectInstanceFactory, int the declaration order within the aspect declarationOrderInAspect, String the name of the aspect aspectName)Implements org. Build a Spring AOP Advisor for the given AspectJ advice method. |
| private List | |
| public List | getAdvisors(MetadataAwareAspectInstanceFactory
the aspect instance factory
(not the aspect instance itself in order to avoid eager instantiation) aspectInstanceFactory)Implements org. Build Spring AOP Advisors for all annotated At-AspectJ methods on the specified aspect instance. |
| private Advisor | Returns: the Advisor instance, ornull if not an Advisorthe field to introspect introductionField)Build a |
| private AspectJExpressionPointcut |
| adviceMethodComparator | back to summary |
|---|---|
| private static final Comparator<Method> adviceMethodComparator | |
| adviceMethodFilter | back to summary |
|---|---|
| private static final ReflectionUtils. | |
| beanFactory | back to summary |
|---|---|
| private final BeanFactory beanFactory
| |
| ReflectiveAspectJAdvisorFactory | back to summary |
|---|---|
| public ReflectiveAspectJAdvisorFactory() Create a new | |
| ReflectiveAspectJAdvisorFactory | back to summary |
|---|---|
| public ReflectiveAspectJAdvisorFactory(BeanFactory beanFactory) Create a new
| |
| getAdvice | back to summary |
|---|---|
| public Advice getAdvice(Method candidateAdviceMethod, AspectJExpressionPointcut expressionPointcut, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrder, String aspectName) Implements org. Doc from org. Build a Spring AOP Advice for the given AspectJ advice method.
| |
| getAdvisor | back to summary |
|---|---|
| public Advisor getAdvisor(Method candidateAdviceMethod, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrderInAspect, String aspectName) Implements org. Doc from org. Build a Spring AOP Advisor for the given AspectJ advice method.
| |
| getAdvisorMethods | back to summary |
|---|---|
| private List | |
| getAdvisors | back to summary |
|---|---|
| public List Implements org. Doc from org. Build Spring AOP Advisors for all annotated At-AspectJ methods on the specified aspect instance.
| |
| getDeclareParentsAdvisor | back to summary |
|---|---|
| private Advisor getDeclareParentsAdvisor(Field introductionField) Build a Resulting Advisors will need to be evaluated for targets. | |
| getPointcut | back to summary |
|---|---|
private AspectJExpressionPointcut getPointcut(Method candidateAdviceMethod, Class<?> candidateAspectClass)
| |
| Access | Constructor and Description |
|---|---|
| public |
| SyntheticInstantiationAdvisor | back to summary |
|---|---|
| public SyntheticInstantiationAdvisor(final MetadataAwareAspectInstanceFactory aif) | |