|
||||||||||
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(CommandMessage<?> command,
Throwable failureCause,
List<EventMessage> events)
Writes a failure entry to the audit logs. |
void |
logSuccessful(CommandMessage<?> command,
Object returnValue,
List<EventMessage> events)
Writes a success entry to the audit logs. |
Method Detail |
---|
void logSuccessful(CommandMessage<?> command, Object returnValue, List<EventMessage> events)
command
- The command that has been handledreturnValue
- The return value of the command handlerevents
- The events that were generated during command handlingvoid logFailed(CommandMessage<?> command, Throwable failureCause, List<EventMessage> 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 |