public class RelationalAuditingEventListener extends Object implements ApplicationListener<BeforeSaveEvent>
An instance of this class gets registered when you apply EnableJdbcAuditing to your Spring config.
EnableJdbcAuditing| Constructor and Description |
|---|
RelationalAuditingEventListener(IsNewAwareAuditingHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
onApplicationEvent(BeforeSaveEvent event) |
public RelationalAuditingEventListener(IsNewAwareAuditingHandler handler)
public void onApplicationEvent(BeforeSaveEvent event)
onApplicationEvent in interface ApplicationListener<BeforeSaveEvent>event - a notification event for indicating before saveCopyright © 2017–2019 Pivotal Software, Inc.. All rights reserved.