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 Summary

    Modifier and Type
    Method
    Description
    Re-declaration of Spring Framework 4.3's DecoratingProxy.getDecoratedClass() so that we can exclude it from Jackson serialization.
    Returns the proxy target.
    Returns the type of the proxy target.
  • Method Details

    • getTargetClass

      @Nullable Class<?> getTargetClass()
      Returns the type of the proxy target.
      Specified by:
      getTargetClass in interface org.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's DecoratingProxy.getDecoratedClass() so that we can exclude it from Jackson serialization.
      Returns: