public class PostUpdateEventListenerStandardImpl extends Object implements PostUpdateEventListener, CallbackRegistryConsumer
Constructor and Description |
---|
PostUpdateEventListenerStandardImpl() |
Modifier and Type | Method and Description |
---|---|
void |
injectCallbackRegistry(CallbackRegistry callbackRegistry)
Injection of the CallbackRegistry
|
void |
onPostUpdate(PostUpdateEvent event) |
boolean |
requiresPostCommitHanding(EntityPersister persister)
Does this listener require that after transaction hooks be registered?
|
default boolean |
requiresPostCommitHandling(EntityPersister persister)
Does this listener require that after transaction hooks be registered?
|
public void injectCallbackRegistry(CallbackRegistry callbackRegistry)
CallbackRegistryConsumer
injectCallbackRegistry
in interface CallbackRegistryConsumer
callbackRegistry
- The CallbackRegistrypublic void onPostUpdate(PostUpdateEvent event)
onPostUpdate
in interface PostUpdateEventListener
public boolean requiresPostCommitHanding(EntityPersister persister)
persister
- The persister for the entity in question.true
if after transaction callbacks should be added.public boolean requiresPostCommitHandling(EntityPersister persister)
persister
- The persister for the entity in question.true
if after transaction callbacks should be added.Copyright © 2019 JBoss by Red Hat. All rights reserved.