public class AuditingEventListener extends AbstractDynamoDBEventListener<Object>
Constructor | Description |
---|---|
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 . |
Modifier and Type | Method | Description |
---|---|---|
void |
onBeforeSave(Object source) |
getDomainClass, onAfterDelete, onAfterLoad, onAfterQuery, onAfterSave, onAfterScan, onApplicationEvent, onBeforeDelete
public AuditingEventListener(org.springframework.beans.factory.ObjectFactory<org.springframework.data.auditing.IsNewAwareAuditingHandler> auditingHandlerFactory)
AuditingEventListener
using the given
MappingContext
and
AuditingHandler
provided by the
given ObjectFactory
.auditingHandlerFactory
- must not be null.public void onBeforeSave(Object source)
onBeforeSave
in class AbstractDynamoDBEventListener<Object>
Copyright © 2018. All rights reserved.