Package org.apache.ibatis.plugin
Class Plugin
- java.lang.Object
-
- org.apache.ibatis.plugin.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)
-
-
-
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 interfacejava.lang.reflect.InvocationHandler
- Throws:
java.lang.Throwable
-
-