Interface MetadataAwareAspectInstanceFactory
- All Superinterfaces:
AspectInstanceFactory
,Ordered
- All Known Implementing Classes:
BeanFactoryAspectInstanceFactory
,LazySingletonAspectInstanceFactoryDecorator
,PrototypeAspectInstanceFactory
,SimpleMetadataAwareAspectInstanceFactory
,SingletonMetadataAwareAspectInstanceFactory
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.
- Since:
- 2.0
- Author:
- Rod Johnson
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Method Summary
Modifier and TypeMethodDescriptionReturn the best possible creation mutex for this factory.Return the AspectJ AspectMetadata for this factory's aspect.Methods inherited from interface org.springframework.aop.aspectj.AspectInstanceFactory
getAspectClassLoader, getAspectInstance
-
Method Details
-
getAspectMetadata
AspectMetadata getAspectMetadata()Return the AspectJ AspectMetadata for this factory's aspect.- Returns:
- the aspect metadata
-
getAspectCreationMutex
Return the best possible creation mutex for this factory.- Returns:
- the mutex object (may be
null
for no mutex to use) - Since:
- 4.3
-