@Signature(type=org.apache.ibatis.executor.Executor.class,method="update",args={org.apache.ibatis.mapping.MappedStatement.class,java.lang.Object.class}) @Signature(type=org.apache.ibatis.executor.Executor.class,method="query",args={org.apache.ibatis.mapping.MappedStatement.class,java.lang.Object.class,org.apache.ibatis.session.RowBounds.class,org.apache.ibatis.session.ResultHandler.class})
public class MendmixMybatisInterceptor
extends Object
implements org.apache.ibatis.plugin.Interceptor, org.springframework.beans.factory.DisposableBean
| 限定符和类型 | 字段和说明 |
|---|---|
protected static org.slf4j.Logger |
logger |
| 构造器和说明 |
|---|
MendmixMybatisInterceptor(String groupName) |
MendmixMybatisInterceptor(String groupName,
String[] hanlderNames) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterRegister() |
void |
destroy() |
DataSource |
getDataSource() |
String |
getGroupName() |
<T extends PluginInterceptorHandler> |
getInterceptorHandler(Class<T> clazz) |
List<PluginInterceptorHandler> |
getInterceptorHandlers() |
Object |
intercept(org.apache.ibatis.plugin.Invocation invocation) |
static boolean |
isCacheEnabled() |
static boolean |
isRwRouteEnabled() |
Object |
plugin(Object target) |
void |
setProperties(Properties properties) |
public MendmixMybatisInterceptor(String groupName)
public Object intercept(org.apache.ibatis.plugin.Invocation invocation) throws Throwable
intercept 在接口中 org.apache.ibatis.plugin.InterceptorThrowablepublic void setProperties(Properties properties)
setProperties 在接口中 org.apache.ibatis.plugin.Interceptorpublic void afterRegister()
public void destroy()
throws Exception
destroy 在接口中 org.springframework.beans.factory.DisposableBeanExceptionpublic static boolean isCacheEnabled()
public static boolean isRwRouteEnabled()
public String getGroupName()
public DataSource getDataSource()
public List<PluginInterceptorHandler> getInterceptorHandlers()
public <T extends PluginInterceptorHandler> T getInterceptorHandler(Class<T> clazz)
Copyright © 2025. All rights reserved.