com.jeesuite.mybatis.core.InterceptorHandler Maven / Gradle / Ivy
package com.jeesuite.mybatis.core;
import org.apache.ibatis.plugin.Invocation;
import com.jeesuite.mybatis.plugin.JeesuiteMybatisInterceptor;
/**
* mybatis插件拦截处理器接口
* @description
* @author vakin
* @date 2015年12月7日
* @Copyright (c) 2015, jwww
*/
public interface InterceptorHandler {
void start(JeesuiteMybatisInterceptor context);
void close();
Object onInterceptor(Invocation invocation) throws Throwable;
void onFinished(Invocation invocation,Object result);
int interceptorOrder();
}