接口 AspectInstanceFactory

所有超级接口:
infra.core.Ordered
所有已知子接口:
MetadataAwareAspectInstanceFactory
所有已知实现类:
BeanFactoryAspectInstanceFactory, LazySingletonAspectInstanceFactoryDecorator, PrototypeAspectInstanceFactory, SimpleAspectInstanceFactory, SimpleBeanFactoryAwareAspectInstanceFactory, SimpleMetadataAwareAspectInstanceFactory, SingletonAspectInstanceFactory, SingletonMetadataAwareAspectInstanceFactory

public interface AspectInstanceFactory extends infra.core.Ordered
Interface implemented to provide an instance of an AspectJ aspect. Decouples from Framework's bean factory.

Extends the Ordered interface to express an order value for the underlying aspect in a chain.

从以下版本开始:
4.0
作者:
Rod Johnson, Juergen Hoeller
另请参阅:
  • BeanFactory.getBean(java.lang.String)
  • 字段概要

    从接口继承的字段 infra.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • 方法概要

    修饰符和类型
    方法
    说明
    Expose the aspect class loader that this factory uses.
    Create an instance of this factory's aspect.

    从接口继承的方法 infra.core.Ordered

    getOrder
  • 方法详细资料

    • getAspectInstance

      Object getAspectInstance()
      Create an instance of this factory's aspect.
      返回:
      the aspect instance (never null)
    • getAspectClassLoader

      @Nullable ClassLoader getAspectClassLoader()
      Expose the aspect class loader that this factory uses.
      返回:
      the aspect class loader (or null for the bootstrap loader)
      另请参阅:
      • ClassUtils.getDefaultClassLoader()