public class DatastoreAuditingEventListener extends Object implements org.springframework.context.ApplicationListener<BeforeSaveEvent>
BeforeSaveEvent
.Constructor and Description |
---|
DatastoreAuditingEventListener(org.springframework.data.auditing.AuditingHandler datastoreAuditingHandler)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
onApplicationEvent(BeforeSaveEvent event) |
public DatastoreAuditingEventListener(org.springframework.data.auditing.AuditingHandler datastoreAuditingHandler)
datastoreAuditingHandler
- the auditing handler to set auditing properties.public void onApplicationEvent(BeforeSaveEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<BeforeSaveEvent>
Copyright © 2022. All rights reserved.