Class DelegateAdviceUtil


  • public class DelegateAdviceUtil
    extends java.lang.Object
    Utilities for applying DelegateAdvice to target.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static jodd.util.TypeCache<java.lang.Class> cache  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> T applyAdvice​(java.lang.Class<T> targetClass)
      Applies advice on given target class and returns proxy instance.
      static void injectTargetIntoProxy​(java.lang.Object proxy, java.lang.Object target)
      Injects target into proxy.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • cache

        public static jodd.util.TypeCache<java.lang.Class> cache
    • Constructor Detail

      • DelegateAdviceUtil

        public DelegateAdviceUtil()
    • Method Detail

      • applyAdvice

        public static <T> T applyAdvice​(java.lang.Class<T> targetClass)
        Applies advice on given target class and returns proxy instance.
      • injectTargetIntoProxy

        public static void injectTargetIntoProxy​(java.lang.Object proxy,
                                                 java.lang.Object target)
        Injects target into proxy.