Class ProxyUtils


  • public final class ProxyUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ProxyUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> T newProxyInstance​(java.lang.Class<T> type, java.lang.reflect.InvocationHandler handler)  
      static <T> T newProxyInstance​(java.lang.ClassLoader cl, java.lang.Class<T> type, java.lang.reflect.InvocationHandler handler)  
      static java.lang.Throwable unwrapInvocationThrowable​(java.lang.Throwable t)  
      • Methods inherited from class java.lang.Object

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

      • ProxyUtils

        private ProxyUtils()
    • Method Detail

      • newProxyInstance

        public static <T> T newProxyInstance​(java.lang.Class<T> type,
                                             java.lang.reflect.InvocationHandler handler)
      • newProxyInstance

        public static <T> T newProxyInstance​(java.lang.ClassLoader cl,
                                             java.lang.Class<T> type,
                                             java.lang.reflect.InvocationHandler handler)
      • unwrapInvocationThrowable

        public static java.lang.Throwable unwrapInvocationThrowable​(java.lang.Throwable t)