@Intercepts(value=@Signature(type=org.apache.ibatis.executor.statement.StatementHandler.class,method="prepare",args={java.sql.Connection.class,java.lang.Integer.class}))
public class PageInterceptor
extends Object
implements org.apache.ibatis.plugin.Interceptor
| 构造器和说明 |
|---|
PageInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
intercept(org.apache.ibatis.plugin.Invocation invocation)
拦截后要执行的方法
|
Object |
plugin(Object target)
拦截器对应的封装原始对象的方法
|
void |
setProperties(Properties properties)
设置注册拦截器时设定的属性
|
public Object intercept(org.apache.ibatis.plugin.Invocation invocation) throws Throwable
intercept 在接口中 org.apache.ibatis.plugin.InterceptorThrowablepublic Object plugin(Object target)
plugin 在接口中 org.apache.ibatis.plugin.Interceptorpublic void setProperties(Properties properties)
setProperties 在接口中 org.apache.ibatis.plugin.InterceptorCopyright © 2021. All rights reserved.