接口 MetadataAwareAspectInstanceFactory
- 所有超级接口:
AspectInstanceFactory
,Ordered
- 所有已知实现类:
BeanFactoryAspectInstanceFactory
,LazySingletonAspectInstanceFactoryDecorator
,PrototypeAspectInstanceFactory
,SimpleMetadataAwareAspectInstanceFactory
,SingletonMetadataAwareAspectInstanceFactory
public interface MetadataAwareAspectInstanceFactory extends AspectInstanceFactory
Subinterface ofAspectInstanceFactory
that returnsAspectMetadata
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
方法详细资料
getAspectMetadata
AspectMetadata getAspectMetadata()
Return the AspectJ AspectMetadata for this factory's aspect.- 返回:
- the aspect metadata
getAspectCreationMutex
Object getAspectCreationMutex()
Return the best possible creation mutex for this factory.- 返回:
- the mutex object (may be
null
for no mutex to use) - 从以下版本开始:
- 4.3