| java.lang.Object | |
| ↳ | org.springframework.aop.target.EmptyTargetSource |
Canonical TargetSource when there is no target
(or just the target class known), and behavior is supplied
by interfaces and advisors only.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| INSTANCE | The canonical (Singleton) instance of this EmptyTargetSource. |
||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return an EmptyTargetSource for the given target Class.
| |||||||||||
Return an EmptyTargetSource for the given target Class.
| |||||||||||
Always returns
null. | |||||||||||
Always returns the specified target Class, or
null if none. | |||||||||||
Always returns
true. | |||||||||||
Nothing to release.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.aop.TargetClassAware
| |||||||||||
From interface
org.springframework.aop.TargetSource
| |||||||||||
The canonical (Singleton) instance of this EmptyTargetSource.
Return an EmptyTargetSource for the given target Class.
| targetClass | the target Class (may be null) |
|---|
Return an EmptyTargetSource for the given target Class.
| targetClass | the target Class (may be null) |
|---|---|
| isStatic | whether the TargetSource should be marked as static |
Always returns null.
Always returns the specified target Class, or null if none.
TargetSource
Always returns true.
true if the target is immutableNothing to release.
| target | object obtained from a call to getTarget() |
|---|