|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AuditLogger
Interface describing a component capable of writing auditing entries to a log.
| Method Summary | |
|---|---|
void |
logFailed(Object command,
Throwable failureCause,
List<Event> events)
Writes a failure entry to the audit logs. |
void |
logSuccessful(Object command,
Object returnValue,
List<Event> events)
Writes a success entry to the audit logs. |
| Method Detail |
|---|
void logSuccessful(Object command,
Object returnValue,
List<Event> events)
command - The command that has been handledreturnValue - The return value of the command handlerevents - The events that were generated during command handling
void logFailed(Object command,
Throwable failureCause,
List<Event> events)
command - The command being executedfailureCause - The cause of the rollback. May be null if the rollback was not caused by an
exceptionevents - any events staged for storage or publishing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||