Class Plugin

  • All Implemented Interfaces:
    java.lang.reflect.InvocationHandler

    public class Plugin
    extends java.lang.Object
    implements java.lang.reflect.InvocationHandler
    Author:
    Clinton Begin
    • Method Summary

      Modifier and Type Method Description
      java.lang.Object invoke​(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)  
      static java.lang.Object wrap​(java.lang.Object target, Interceptor interceptor)  
      • Methods inherited from class java.lang.Object

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

      • wrap

        public static java.lang.Object wrap​(java.lang.Object target,
                                            Interceptor interceptor)
      • invoke

        public java.lang.Object invoke​(java.lang.Object proxy,
                                       java.lang.reflect.Method method,
                                       java.lang.Object[] args)
                                throws java.lang.Throwable
        Specified by:
        invoke in interface java.lang.reflect.InvocationHandler
        Throws:
        java.lang.Throwable