Top Description Methods
org.springframework.aop.aspectj.annotation

public Interface MetadataAwareAspectInstanceFactory

extends AspectInstanceFactory
Known Direct Implementers
org.springframework.aop.aspectj.annotation.SimpleMetadataAwareAspectInstanceFactory, org.springframework.aop.aspectj.annotation.SingletonMetadataAwareAspectInstanceFactory, org.springframework.aop.aspectj.annotation.BeanFactoryAspectInstanceFactory, org.springframework.aop.aspectj.annotation.LazySingletonAspectInstanceFactoryDecorator
Imports
org.springframework.aop.aspectj.AspectInstanceFactory, org.springframework.lang.Nullable

Subinterface of org.springframework.aop.aspectj.AspectInstanceFactory that returns AspectMetadata associated with AspectJ-annotated classes.
Author
Rod Johnson
Since
2.0
See Also
AspectMetadata, org.aspectj.lang.reflect.AjType

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

the mutex object (may be null for no mutex to use)
getAspectCreationMutex
()

Get the best possible creation mutex for this factory.

public AspectMetadata

Returns:

the aspect metadata
getAspectMetadata
()

Get the AspectJ AspectMetadata for this factory's aspect.

Inherited from org.springframework.aop.aspectj.AspectInstanceFactory:
getAspectClassLoadergetAspectInstance

Method Detail

getAspectCreationMutexback to summary
public Object getAspectCreationMutex()

Get the best possible creation mutex for this factory.

Returns:Object

the mutex object (may be null for no mutex to use)

Annotations
@Nullable
Since
4.3
getAspectMetadataback to summary
public AspectMetadata getAspectMetadata()

Get the AspectJ AspectMetadata for this factory's aspect.

Returns:AspectMetadata

the aspect metadata