public interface MetadataAwareAspectInstanceFactory extends AspectInstanceFactory
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.
AspectMetadata,
AjType| 限定符和类型 | 方法和说明 |
|---|---|
Object |
getAspectCreationMutex()
Return the best possible creation mutex for this factory.
|
AspectMetadata |
getAspectMetadata()
Return the AspectJ AspectMetadata for this factory's aspect.
|
getAspectClassLoader, getAspectInstanceAspectMetadata getAspectMetadata()
@Nullable Object getAspectCreationMutex()
null for no mutex to use)