|
The Spring Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.aop.target.EmptyTargetSource
public class EmptyTargetSource
Canonical TargetSource when there is no target,
and behavior is supplied by interfaces and advisors.
| Field Summary | |
|---|---|
static EmptyTargetSource |
INSTANCE
The canonical (Singleton) instance of this EmptyTargetSource. |
| Method Summary | |
|---|---|
Object |
getTarget()
Always returns null. |
Class |
getTargetClass()
Always returns null. |
boolean |
isStatic()
Always returns true. |
void |
releaseTarget(Object target)
Release the given target object obtained from the TargetSource.getTarget() method. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final EmptyTargetSource INSTANCE
EmptyTargetSource.
| Method Detail |
|---|
public Class getTargetClass()
null.
getTargetClass in interface TargetSourcenullpublic boolean isStatic()
true.
isStatic in interface TargetSourcetrueTargetSource.getTarget()public Object getTarget()
null.
getTarget in interface TargetSourcenullpublic void releaseTarget(Object target)
TargetSourceTargetSource.getTarget() method.
releaseTarget in interface TargetSourcetarget - object obtained from a call to TargetSource.getTarget()public String toString()
toString in class Object
|
The Spring Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||