| java.lang.Object | |
| ↳ | org.springframework.aop.aspectj.SingletonAspectInstanceFactory |
Known Direct Subclasses
|
Implementation of AspectInstanceFactory 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 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 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.aop.aspectj.AspectInstanceFactory
| |||||||||||
From interface
org.springframework.core.Ordered
| |||||||||||
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 |
|---|