Class AuditingEventListener

  • All Implemented Interfaces:
    java.util.EventListener, org.springframework.context.ApplicationListener<DynamoDBMappingEvent<?>>

    public class AuditingEventListener
    extends AbstractDynamoDBEventListener<java.lang.Object>
    Event listener to populate auditing related fields on an entity about to be saved.
    Author:
    Vito Limandibhrata
    • Constructor Detail

      • AuditingEventListener

        public AuditingEventListener​(org.springframework.beans.factory.ObjectFactory<org.springframework.data.auditing.IsNewAwareAuditingHandler> auditingHandlerFactory)
        Creates a new AuditingEventListener using the given MappingContext and AuditingHandler provided by the given ObjectFactory.
        Parameters:
        auditingHandlerFactory - must not be null.