spring-framework / org.springframework.aop.aspectj.annotation / SimpleMetadataAwareAspectInstanceFactory

SimpleMetadataAwareAspectInstanceFactory

open class SimpleMetadataAwareAspectInstanceFactory : SimpleAspectInstanceFactory, MetadataAwareAspectInstanceFactory

Implementation of MetadataAwareAspectInstanceFactory that creates a new instance of the specified aspect class for every #getAspectInstance() call.

Author
Juergen Hoeller

Since
2.0.4

Constructors

<init>

SimpleMetadataAwareAspectInstanceFactory(aspectClass: Class<*>, aspectName: String)

Create a new SimpleMetadataAwareAspectInstanceFactory for the given aspect class.

Functions

getAspectCreationMutex

open fun getAspectCreationMutex(): Any

getAspectMetadata

fun getAspectMetadata(): AspectMetadata