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

SingletonMetadataAwareAspectInstanceFactory

open class SingletonMetadataAwareAspectInstanceFactory : SingletonAspectInstanceFactory, MetadataAwareAspectInstanceFactory, Serializable

Implementation of MetadataAwareAspectInstanceFactory that is backed by a specified singleton object, returning the same instance for every #getAspectInstance() call.

Author
Rod Johnson

Author
Juergen Hoeller

Since
2.0

See Also
SimpleMetadataAwareAspectInstanceFactory

Constructors

<init>

SingletonMetadataAwareAspectInstanceFactory(aspectInstance: Any, aspectName: String)

Create a new SingletonMetadataAwareAspectInstanceFactory for the given aspect.

Functions

getAspectCreationMutex

open fun getAspectCreationMutex(): Any

getAspectMetadata

fun getAspectMetadata(): AspectMetadata