RelationalAuditingCallback
instead.@Deprecated public class RelationalAuditingEventListener extends Object implements ApplicationListener<BeforeSaveEvent>, Ordered
Modifier and Type | Field and Description |
---|---|
static int |
AUDITING_ORDER
Deprecated.
The order used for this
EventListener . |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
RelationalAuditingEventListener(IsNewAwareAuditingHandler handler)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getOrder()
Deprecated.
|
void |
onApplicationEvent(BeforeSaveEvent event)
Deprecated.
|
public static final int AUDITING_ORDER
EventListener
. Ordering ensures that this
ApplicationListener
will run before other listeners without a specified priority.Order
,
Ordered
,
Constant Field Valuespublic RelationalAuditingEventListener(IsNewAwareAuditingHandler handler)
public void onApplicationEvent(BeforeSaveEvent event)
onApplicationEvent
in interface ApplicationListener<BeforeSaveEvent>
event
- a notification event for indicating before saveCopyright © 2017–2020 Pivotal Software, Inc.. All rights reserved.