Top Description Methods
org.springframework.aop

public Interface TargetClassAware

Known Direct Subinterfaces
org.springframework.aop.TargetSource, org.springframework.aop.framework.Advised
Imports
org.springframework.lang.Nullable

Minimal interface for exposing the target class behind a proxy.

Implemented by AOP proxy objects and proxy factories (via org.springframework.aop.framework.Advised) as well as by TargetSources.

Author
Juergen Hoeller
Since
2.0.3
See Also
org.springframework.aop.support.AopUtils#getTargetClass(Object)

Method Summary

Modifier and TypeMethod and Description
public Class<?>

Returns:

the target Class, or null if not known
getTargetClass
()

Return the target class behind the implementing object (typically a proxy configuration or an actual proxy).

Method Detail

getTargetClassback to summary
public Class<?> getTargetClass()

Return the target class behind the implementing object (typically a proxy configuration or an actual proxy).

Returns:Class<?>

the target Class, or null if not known

Annotations
@Nullable