public class AuditManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
AuditManager.AuditRunnable<T> |
| Modifier and Type | Method and Description |
|---|---|
static Clock |
getClock() |
static MessageCollector |
getMessageCollector() |
static MessageFactory |
getMessageFactory() |
static boolean |
isAuditEnable() |
static void |
setAuditEnable(boolean auditEnable) |
static void |
setClock(Clock clock) |
static void |
setMessageCollector(MessageCollector messageCollector) |
static void |
setMessageFactory(MessageFactory messageFactory) |
static void |
setMessageReporter(MessageReporter messageReporter) |
static <T> T |
startAudit(AuditManager.AuditRunnable<T> supplier,
Statement statement,
org.apache.ibatis.mapping.BoundSql boundSql,
org.apache.ibatis.session.Configuration configuration) |
public static boolean isAuditEnable()
public static void setAuditEnable(boolean auditEnable)
public static Clock getClock()
public static void setClock(Clock clock)
public static MessageFactory getMessageFactory()
public static void setMessageFactory(MessageFactory messageFactory)
public static MessageCollector getMessageCollector()
public static void setMessageReporter(MessageReporter messageReporter)
public static void setMessageCollector(MessageCollector messageCollector)
public static <T> T startAudit(AuditManager.AuditRunnable<T> supplier, Statement statement, org.apache.ibatis.mapping.BoundSql boundSql, org.apache.ibatis.session.Configuration configuration) throws SQLException
SQLExceptionCopyright © 2024. All rights reserved.