Interface ProxyHandler<T>

Type Parameters:
T - interface class type.
All Superinterfaces:
InvocationHandler

public interface ProxyHandler<T> extends InvocationHandler
interface proxy implement class interface.
Author:
Leonard Woo
  • Method Summary

    Modifier and Type
    Method
    Description
    invoke(Object proxy, Method method, Object[] args)
    Proxy method invoke.
  • Method Details

    • invoke

      T invoke(Object proxy, Method method, Object[] args) throws Throwable
      Proxy method invoke.
      Specified by:
      invoke in interface InvocationHandler
      Parameters:
      proxy - proxy object.
      method - target object method.
      args - target method argument.
      Returns:
      target method return.
      Throws:
      Throwable - target method throw.