@Intercepts(value=@Signature(type=org.apache.ibatis.executor.statement.StatementHandler.class,method="prepare",args={java.sql.Connection.class,java.lang.Integer.class}))
public class WriteInterceptor
extends Object
implements org.apache.ibatis.plugin.Interceptor
| 构造器和说明 |
|---|
WriteInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
intercept(org.apache.ibatis.plugin.Invocation invocation) |
Object |
plugin(Object target)
生成拦截对象的代理
|
void |
setProperties(Properties properties)
mybatis配置的属性
|
public Object intercept(org.apache.ibatis.plugin.Invocation invocation)
intercept 在接口中 org.apache.ibatis.plugin.Interceptorpublic Object plugin(Object target)
plugin 在接口中 org.apache.ibatis.plugin.Interceptortarget - 目标对象public void setProperties(Properties properties)
setProperties 在接口中 org.apache.ibatis.plugin.Interceptorproperties - mybatis配置的属性Copyright © 2021. All rights reserved.