org.axonframework.auditing
Interface AuditDataProvider
- All Known Implementing Classes: 
- CommandMetaDataProvider, CorrelationAuditDataProvider, EmptyDataProvider
- public interface AuditDataProvider 
Interface describing the instance that provides the relevant information for auditing purposes. The data provided by
 this class is attached to all events processed by the AuditingInterceptor.
- Since:
- 0.7
- Author:
- Allard Buijze
 
provideAuditDataFor
Map<String,Object> provideAuditDataFor(CommandMessage<?> command)
- Return the relevant auditing information for the given command. This method is called exactly once for each time
 the command is dispatched.
 
- 
- Parameters:
- command- The command being dispatched
- Returns:
- a map containing key-value pairs of relevant information to include in audit logs.
 
Copyright © 2010-2016. All Rights Reserved.