org.springframework.aop.aspectj.annotation

## 接口 MetadataAwareAspectInstanceFactory

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

      public interface MetadataAwareAspectInstanceFactory
      extends AspectInstanceFactory

  Subinterface of `AspectInstanceFactory` that returns `AspectMetadata` associated with AspectJ-annotated classes.

  Ideally, AspectInstanceFactory would include this method itself, but because AspectMetadata uses Java-5-only `AjType`, we need to split out this subinterface.

  从以下版本开始:
    2.0
  作者:
    Rod Johnson
  另请参阅:
    `AspectMetadata`, `AjType`

- - ### 字段概要

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

      `HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE`

  - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `Object` | `getAspectCreationMutex()` Return the best possible creation mutex for this factory.
    `AspectMetadata` | `getAspectMetadata()` Return the AspectJ AspectMetadata for this factory's aspect.

    - ### 从接口继承的方法 org.springframework.aop.aspectj.AspectInstanceFactory

      `getAspectClassLoader, getAspectInstance`

    - ### 从接口继承的方法 org.springframework.core.Ordered

      `getOrder`

- - ### 方法详细资料

    - #### getAspectMetadata

          AspectMetadata getAspectMetadata()

      Return the AspectJ AspectMetadata for this factory's aspect.
      返回:
        the aspect metadata

    - #### getAspectCreationMutex

          @Nullable
          Object getAspectCreationMutex()

      Return the best possible creation mutex for this factory.
      返回:
        the mutex object (may be `null` for no mutex to use)
      从以下版本开始:
        4.3