Package org.xipki.audit.services
Class NoopAuditService
- java.lang.Object
-
- org.xipki.audit.services.NoopAuditService
-
- All Implemented Interfaces:
AuditService
public class NoopAuditService extends java.lang.Object implements AuditService
The No-Operation audit service. The events will be ignored.- Since:
- 6.0.0
- Author:
- Lijun Liao (xipki)
-
-
Field Summary
-
Fields inherited from interface org.xipki.audit.AuditService
AUDIT_EVENT, PCI_AUDIT_EVENT
-
-
Constructor Summary
Constructors Constructor Description NoopAuditService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidinit(org.xipki.util.ConfPairs conf)voidlogEvent(AuditEvent event)Log audit event.voidlogEvent(PciAuditEvent event)Log PCI audit event.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.xipki.audit.AuditService
init
-
-
-
-
Method Detail
-
init
public void init(org.xipki.util.ConfPairs conf)
- Specified by:
initin interfaceAuditService
-
logEvent
public void logEvent(AuditEvent event)
Description copied from interface:AuditServiceLog audit event.- Specified by:
logEventin interfaceAuditService- Parameters:
event- Audit event. Must not benull-
-
logEvent
public void logEvent(PciAuditEvent event)
Description copied from interface:AuditServiceLog PCI audit event.- Specified by:
logEventin interfaceAuditService- Parameters:
event- Audit event. Must not benull-
-
close
public void close()
- Specified by:
closein interfaceAuditService
-
-