类 RedisIdGenInterceptor
- java.lang.Object
-
- cn.t.common.mybatis.keygenerator.RedisIdGenInterceptor
-
- 所有已实现的接口:
org.apache.ibatis.plugin.Interceptor
@Intercepts(@Signature(type=org.apache.ibatis.executor.Executor.class,method="update",args={org.apache.ibatis.mapping.MappedStatement.class,java.lang.Object.class})) public class RedisIdGenInterceptor extends Object implements org.apache.ibatis.plugin.Interceptor
-
-
构造器概要
构造器 构造器 说明 RedisIdGenInterceptor(RedisKeyGenerator redisKeyGenerator)
-
-
-
构造器详细资料
-
RedisIdGenInterceptor
public RedisIdGenInterceptor(RedisKeyGenerator redisKeyGenerator)
-
-
方法详细资料
-
intercept
public Object intercept(org.apache.ibatis.plugin.Invocation invocation) throws InvocationTargetException, IllegalAccessException, SQLException
- 指定者:
intercept在接口中org.apache.ibatis.plugin.Interceptor- 抛出:
InvocationTargetExceptionIllegalAccessExceptionSQLException
-
setProperties
public void setProperties(Properties properties)
- 指定者:
setProperties在接口中org.apache.ibatis.plugin.Interceptor
-
-