接口的使用
infra.aop.aspectj.annotation.MetadataAwareAspectInstanceFactory
程序包
说明
Classes enabling AspectJ 5 @Annotated classes to be used in Framework AOP.
-
infra.aop.aspectj.annotation中MetadataAwareAspectInstanceFactory的使用
修饰符和类型类说明classAspectInstanceFactoryimplementation backed by a FrameworkBeanFactory.classDecorator to cause aMetadataAwareAspectInstanceFactoryto instantiate only once.classAspectInstanceFactorybacked by aBeanFactory-provided prototype, enforcing prototype semantics.classImplementation ofMetadataAwareAspectInstanceFactorythat creates a new instance of the specified aspect class for everySimpleAspectInstanceFactory.getAspectInstance()call.classImplementation ofMetadataAwareAspectInstanceFactorythat is backed by a specified singleton object, returning the same instance for everySingletonAspectInstanceFactory.getAspectInstance()call.修饰符和类型字段说明private final MetadataAwareAspectInstanceFactoryInstantiationModelAwarePointcutAdvisorImpl.aspectInstanceFactoryprivate final MetadataAwareAspectInstanceFactoryLazySingletonAspectInstanceFactoryDecorator.maaif修饰符和类型字段说明private final Map<String,MetadataAwareAspectInstanceFactory> BeanFactoryAspectJAdvisorsBuilder.aspectFactoryCache修饰符和类型方法说明AspectJProxyFactory.createAspectInstanceFactory(AspectMetadata am, Class<?> aspectClass, String aspectName) Create aMetadataAwareAspectInstanceFactoryfor the supplied aspect type.InstantiationModelAwarePointcutAdvisorImpl.getAspectInstanceFactory()修饰符和类型方法说明private voidAspectJProxyFactory.addAdvisorsFromAspectInstanceFactory(MetadataAwareAspectInstanceFactory instanceFactory) Add allAdvisorsfrom the suppliedMetadataAwareAspectInstanceFactoryto the current chain.AspectJAdvisorFactory.getAdvice(Method candidateAdviceMethod, AspectJExpressionPointcut expressionPointcut, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrder, String aspectName) Build a Framework AOP Advice for the given AspectJ advice method.ReflectiveAspectJAdvisorFactory.getAdvice(Method candidateAdviceMethod, AspectJExpressionPointcut expressionPointcut, MetadataAwareAspectInstanceFactory aspectFactory, int declarationOrder, String aspectName) AspectJAdvisorFactory.getAdvisor(Method candidateAdviceMethod, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrder, String aspectName) Build a Framework AOP Advisor for the given AspectJ advice method.ReflectiveAspectJAdvisorFactory.getAdvisor(Method candidateAdviceMethod, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrderInAspect, String aspectName) AspectJAdvisorFactory.getAdvisors(MetadataAwareAspectInstanceFactory aspectInstanceFactory) Build Framework AOP Advisors for all annotated At-AspectJ methods on the specified aspect instance.ReflectiveAspectJAdvisorFactory.getAdvisors(MetadataAwareAspectInstanceFactory aspectInstanceFactory) 限定符构造器说明InstantiationModelAwarePointcutAdvisorImpl(AspectJExpressionPointcut declaredPointcut, Method aspectJAdviceMethod, AspectJAdvisorFactory aspectJAdvisorFactory, MetadataAwareAspectInstanceFactory aspectInstanceFactory, int declarationOrder, String aspectName) Create a new lazily initializing decorator for the given AspectInstanceFactory.PerTargetInstantiationModelPointcut(AspectJExpressionPointcut declaredPointcut, Pointcut preInstantiationPointcut, MetadataAwareAspectInstanceFactory aspectInstanceFactory)