public class JpaPostUpdateEventListener extends java.lang.Object implements PostUpdateEventListener, CallbackRegistryConsumer, PostCollectionRecreateEventListener, PostCollectionRemoveEventListener, PostCollectionUpdateEventListener
Constructor and Description |
---|
JpaPostUpdateEventListener() |
JpaPostUpdateEventListener(CallbackRegistry callbackRegistry) |
Modifier and Type | Method and Description |
---|---|
void |
injectCallbackRegistry(CallbackRegistry callbackRegistry)
Injection of the CallbackRegistry
|
void |
onPostRecreateCollection(PostCollectionRecreateEvent event) |
void |
onPostRemoveCollection(PostCollectionRemoveEvent event) |
void |
onPostUpdate(PostUpdateEvent event) |
void |
onPostUpdateCollection(PostCollectionUpdateEvent event) |
boolean |
requiresPostCommitHanding(EntityPersister persister) |
public JpaPostUpdateEventListener()
public JpaPostUpdateEventListener(CallbackRegistry callbackRegistry)
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)
requiresPostCommitHanding
in interface PostUpdateEventListener
public void onPostRecreateCollection(PostCollectionRecreateEvent event)
onPostRecreateCollection
in interface PostCollectionRecreateEventListener
public void onPostRemoveCollection(PostCollectionRemoveEvent event)
onPostRemoveCollection
in interface PostCollectionRemoveEventListener
public void onPostUpdateCollection(PostCollectionUpdateEvent event)
onPostUpdateCollection
in interface PostCollectionUpdateEventListener
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.