类 EmptyTargetSource
java.lang.Object
cn.taketoday.aop.target.EmptyTargetSource
- 所有已实现的接口:
TargetClassAware,TargetSource,Serializable
Canonical
TargetSource when there is no target
(or just the target class known), and behavior is supplied
by interfaces and advisors only.- 作者:
- Rod Johnson, Juergen Hoeller, TODAY 2021/2/1 20:25
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明static final EmptyTargetSourceThe canonical (Singleton) instance of thisEmptyTargetSource. -
方法概要
修饰符和类型方法说明booleanstatic EmptyTargetSourceReturn an EmptyTargetSource for the given target Class.static EmptyTargetSourceReturn an EmptyTargetSource for the given target Class.Always returnsnull.Class<?>Always returns the specified target Class, ornullif none.inthashCode()booleanisStatic()Always returnstrue.toString()从接口继承的方法 cn.taketoday.aop.TargetSource
releaseTarget
-
字段详细资料
-
INSTANCE
The canonical (Singleton) instance of thisEmptyTargetSource.
-
-
方法详细资料
-
getTargetClass
Always returns the specified target Class, ornullif none.- 指定者:
getTargetClass在接口中TargetClassAware- 指定者:
getTargetClass在接口中TargetSource- 返回:
- the type of targets returned by this
TargetSource
-
isStatic
public boolean isStatic()Always returnstrue.- 指定者:
isStatic在接口中TargetSource- 返回:
trueif the target is immutable- 另请参阅:
-
getTarget
Always returnsnull.- 指定者:
getTarget在接口中TargetSource- 返回:
- the target object which contains the join-point,
or
nullif there is no actual target instance
-
equals
-
hashCode
public int hashCode() -
toString
-
forClass
Return an EmptyTargetSource for the given target Class.- 参数:
targetClass- the target Class (may benull)- 另请参阅:
-
forClass
Return an EmptyTargetSource for the given target Class.- 参数:
targetClass- the target Class (may benull)isStatic- whether the TargetSource should be marked as static- 另请参阅:
-