@Intercepts(value=@Signature(type=org.apache.ibatis.executor.statement.StatementHandler.class,method="prepare",args={java.sql.Connection.class,java.lang.Integer.class})) public class DataScopeInterceptor extends Object implements org.apache.ibatis.plugin.Interceptor
Constructor and Description |
---|
DataScopeInterceptor() |
Modifier and Type | Method and Description |
---|---|
DataScope |
findDataScopeObject(Object parameterObj)
查找参数是否包括DataScope对象
|
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
in interface org.apache.ibatis.plugin.Interceptor
Throwable
public Object plugin(Object target)
plugin
in interface org.apache.ibatis.plugin.Interceptor
public void setProperties(Properties properties)
setProperties
in interface org.apache.ibatis.plugin.Interceptor
Copyright © 2018. All rights reserved.