java.lang.Object | |
↳ | org.springframework.aop.aspectj.SingletonAspectInstanceFactory |
![]() |
Implementation of AspectInstanceFactory
that is backed by a
specified singleton object, returning the same instance for every
getAspectInstance()
call.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new SingletonAspectInstanceFactory for the given aspect instance.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Expose the aspect class loader that this factory uses.
| |||||||||||
Create an instance of this factory's aspect.
| |||||||||||
Determine the order for this factory's aspect instance,
either an instance-specific order expressed through implementing
the
Ordered interface,
or a fallback order. |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Determine a fallback order for the case that the aspect instance
does not express an instance-specific order through implementing
the
Ordered interface. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Create a new SingletonAspectInstanceFactory for the given aspect instance.
aspectInstance | the singleton aspect instance |
---|
Expose the aspect class loader that this factory uses.
null
)
Create an instance of this factory's aspect.
null
)
Determine the order for this factory's aspect instance,
either an instance-specific order expressed through implementing
the Ordered
interface,
or a fallback order.
Determine a fallback order for the case that the aspect instance
does not express an instance-specific order through implementing
the Ordered
interface.
The default implementation simply returns Ordered.LOWEST_PRECEDENCE
.
aspectClass | the aspect class |
---|