@Intercepts(value=@Signature(type=org.apache.ibatis.executor.statement.StatementHandler.class,method="prepare",args={java.sql.Connection.class,java.lang.Integer.class}))
public class TimeAppenderInterceptor
extends AbstractInterceptor
implements org.apache.ibatis.plugin.Interceptor
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.apache.commons.lang3.time.FastDateFormat |
dateFormat |
protected org.apache.commons.lang3.time.FastDateFormat |
dateTimeFormat |
protected org.apache.commons.lang3.time.FastDateFormat |
timeFormat |
protected org.apache.commons.lang3.time.FastDateFormat |
yearFormat |
| 构造器和说明 |
|---|
TimeAppenderInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
init() |
Object |
intercept(org.apache.ibatis.plugin.Invocation invocation) |
Object |
plugin(Object target) |
void |
prepare()
执行运行前准备检查
|
void |
setProperties(Properties properties) |
extractSql, getParameterValueprotected org.apache.commons.lang3.time.FastDateFormat dateTimeFormat
protected org.apache.commons.lang3.time.FastDateFormat dateFormat
protected org.apache.commons.lang3.time.FastDateFormat timeFormat
protected org.apache.commons.lang3.time.FastDateFormat yearFormat
public void prepare()
@PostConstruct public void init()
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.InterceptorCopyright © 2020. All rights reserved.