接口 MetadataAwareAspectInstanceFactory

所有超级接口:
AspectInstanceFactory, 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.

从以下版本开始:
4.0
作者:
Rod Johnson
另请参阅:
  • 方法详细资料

    • 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)