org.springframework.aop.aspectj

## 接口 AspectInstanceFactory

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

      public interface AspectInstanceFactory
      extends org.springframework.core.Ordered

  Interface implemented to provide an instance of an AspectJ aspect. Decouples from Spring's bean factory.

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

  从以下版本开始:
    2.0
  作者:
    Rod Johnson, Juergen Hoeller
  另请参阅:
    `BeanFactory.getBean(java.lang.String)`

- - ### 字段概要

    - ### 从接口继承的字段 org.springframework.core.Ordered

      `HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE`

  - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `ClassLoader` | `getAspectClassLoader()` Expose the aspect class loader that this factory uses.
    `Object` | `getAspectInstance()` Create an instance of this factory's aspect.

    - ### 从接口继承的方法 org.springframework.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()`