接口的使用
infra.aop.aspectj.AspectInstanceFactory
使用AspectInstanceFactory的程序包
程序包
说明
AspectJ integration package.
Classes enabling AspectJ 5 @Annotated classes to be used in Framework AOP.
Support package for declarative AOP configuration,
with XML schema being the primary configuration format.
-
infra.aop.aspectj中AspectInstanceFactory的使用
修饰符和类型类说明classImplementation ofAspectInstanceFactorythat creates a new instance of the specified aspect class for everySimpleAspectInstanceFactory.getAspectInstance()call.classImplementation ofAspectInstanceFactorythat is backed by a specified singleton object, returning the same instance for everySingletonAspectInstanceFactory.getAspectInstance()call.修饰符和类型方法说明final AspectInstanceFactoryAbstractAspectJAdvice.getAspectInstanceFactory()Return the factory for aspect instances.参数类型为AspectInstanceFactory的infra.aop.aspectj中的构造器限定符构造器说明AbstractAspectJAdvice(Method aspectJAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aspectInstanceFactory) Create a new AbstractAspectJAdvice for the given advice method.AspectJAfterAdvice(Method aspectJBeforeAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif) AspectJAfterReturningAdvice(Method aspectJBeforeAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif) AspectJAfterThrowingAdvice(Method aspectJBeforeAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif) AspectJAroundAdvice(Method aspectJAroundAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif) AspectJMethodBeforeAdvice(Method aspectJBeforeAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif) -
infra.aop.aspectj.annotation中AspectInstanceFactory的使用
修饰符和类型接口说明interfaceSubinterface ofAspectInstanceFactorythat returnsAspectMetadataassociated with AspectJ-annotated classes.修饰符和类型类说明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. -
infra.aop.config中AspectInstanceFactory的使用
修饰符和类型类说明classImplementation ofAspectInstanceFactorythat locates the aspect from theBeanFactoryusing a configured bean name.