java.lang.Object | ||
↳ | org.springframework.aop.aspectj.SingletonAspectInstanceFactory | |
↳ | org.springframework.aop.aspectj.annotation.SingletonMetadataAwareAspectInstanceFactory |
Implementation of MetadataAwareAspectInstanceFactory
that is backed
by a specified singleton object, returning the same instance for every
getAspectInstance()
call.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.springframework.core.Ordered
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new SingletonMetadataAwareAspectInstanceFactory for the given aspect.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the AspectJ AspectMetadata for this factory's aspect.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Check whether the aspect class carries an
Order annotation,
falling back to Ordered.LOWEST_PRECEDENCE . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.aop.aspectj.SingletonAspectInstanceFactory
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.aop.aspectj.AspectInstanceFactory
| |||||||||||
From interface
org.springframework.aop.aspectj.annotation.MetadataAwareAspectInstanceFactory
| |||||||||||
From interface
org.springframework.core.Ordered
|
Create a new SingletonMetadataAwareAspectInstanceFactory for the given aspect.
aspectInstance | the singleton aspect instance |
---|---|
aspectName | the name of the aspect |
Return the AspectJ AspectMetadata for this factory's aspect.