}
public void audit() throws AuditException {
Auditor auditor = AuditorFactory.getAuditor();
AuditEventBuilder builder = auditor.newAuditEventBuilder();
builder.setObject(object);
builder.setVerb(verb);
builder.setSubject(subject);
if (predicateMap != null) {
builder.setPredicateMap(predicateMap);
}
if (originatingApplication != null) {
builder.setOriginatingApplication(originatingApplication);
}
auditor.log(builder);
}