public class PostDeleteEventListenerStandardImpl extends Object implements PostDeleteEventListener, CallbackRegistryConsumer
Constructor and Description |
---|
PostDeleteEventListenerStandardImpl() |
Modifier and Type | Method and Description |
---|---|
void |
injectCallbackRegistry(CallbackRegistry callbackRegistry)
Injection of the CallbackRegistry
|
void |
onPostDelete(PostDeleteEvent 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 onPostDelete(PostDeleteEvent event)
onPostDelete
in interface PostDeleteEventListener
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 © 2018 JBoss by Red Hat. All rights reserved.