|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 TargetSource
null
public boolean isStatic()
true
.
isStatic
in interface TargetSource
true
TargetSource.getTarget()
public Object getTarget()
null
.
getTarget
in interface TargetSource
null
public void releaseTarget(Object target)
TargetSource
TargetSource.getTarget()
method.
releaseTarget
in interface TargetSource
target
- 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 |