|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.aop.target.EmptyTargetSource
Canonical TargetSource when there's no target, and behavior is supplied by interfaces and advisors.
Field Summary | |
static EmptyTargetSource |
INSTANCE
|
Method Summary | |
java.lang.Object |
getTarget()
Return a target instance. |
java.lang.Class |
getTargetClass()
Return the type of targets returned by this TargetSource. |
boolean |
isStatic()
Will all calls to getTarget() return the same object? |
void |
releaseTarget(java.lang.Object target)
Release the given target object obtained from the getTarget() method. |
java.lang.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
Method Detail |
public java.lang.Class getTargetClass()
TargetSource
getTargetClass
in interface TargetSource
public boolean isStatic()
TargetSource
isStatic
in interface TargetSource
public java.lang.Object getTarget()
TargetSource
getTarget
in interface TargetSource
public void releaseTarget(java.lang.Object target)
TargetSource
releaseTarget
in interface TargetSource
target
- object obtained from a call to getTarget()TargetSource.getTarget()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |