程序包 infra.aop
接口 TargetClassAware
- 所有已知子接口:
Advised,ProxyMethodInvocation,TargetSource
- 所有已知实现类:
AbstractBeanFactoryTargetSource,AbstractLazyCreationTargetSource,AbstractMethodInvocation,AbstractPoolingTargetSource,AbstractPrototypeTargetSource,AbstractRefreshableTargetSource,AdvisedSupport,AspectJProxyFactory,BeanFactoryRefreshableTargetSource,CglibAopProxy.CglibMethodInvocation,CommonsPool2TargetSource,DefaultMethodInvocation,EmptyTargetSource,HotSwappableTargetSource,LazyInitTargetSource,PrototypeTargetSource,ProxyCreatorSupport,ProxyFactory,ProxyFactoryBean,SimpleBeanTargetSource,SingletonTargetSource,ThreadLocalTargetSource
public interface TargetClassAware
Minimal interface for exposing the target class behind a proxy.
Implemented by AOP proxy objects and proxy factories
(via Advised)
as well as by TargetSources.
- 从以下版本开始:
- 3.0
- 作者:
- Juergen Hoeller, TODAY 2021/2/1 18:45
- 另请参阅:
-
方法概要
修饰符和类型方法说明Class<?>Return the target class behind the implementing object (typically a proxy configuration or an actual proxy).
-
方法详细资料
-
getTargetClass
Return the target class behind the implementing object (typically a proxy configuration or an actual proxy).- 返回:
- the target Class, or
nullif not known
-