Interface TargetAware
- All Superinterfaces:
org.springframework.aop.RawTargetAccess
,org.springframework.aop.TargetClassAware
public interface TargetAware
extends org.springframework.aop.TargetClassAware, org.springframework.aop.RawTargetAccess
Extension of
TargetClassAware
to be able to ignore the getter on JSON rendering.- Author:
- Oliver Gierke
-
Method Details
-
getTargetClass
Returns the type of the proxy target.- Specified by:
getTargetClass
in interfaceorg.springframework.aop.TargetClassAware
- Returns:
- can be null.
-
getTarget
Object getTarget()Returns the proxy target.- Returns:
- will never be null.
-
getDecoratedClass
Class<?> getDecoratedClass()Re-declaration of Spring Framework 4.3'sDecoratingProxy.getDecoratedClass()
so that we can exclude it from Jackson serialization.- Returns:
-