Interface AfterCommitListener
- All Superinterfaces:
org.hibernate.event.spi.PostCommitDeleteEventListener
,org.hibernate.event.spi.PostCommitInsertEventListener
,org.hibernate.event.spi.PostCommitUpdateEventListener
,org.hibernate.event.spi.PostDeleteEventListener
,org.hibernate.event.spi.PostInsertEventListener
,org.hibernate.event.spi.PostUpdateEventListener
- All Known Implementing Classes:
AfterCommitListenerImpl
public interface AfterCommitListener
extends org.hibernate.event.spi.PostCommitInsertEventListener, org.hibernate.event.spi.PostCommitUpdateEventListener, org.hibernate.event.spi.PostCommitDeleteEventListener
Interface required to combine
PostCommitInsertEventListener
, PostCommitUpdateEventListener
and PostCommitDeleteEventListener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
registerEntityDeletedEvent
(List<Entity> entities) Register anEntityListener.entityDeleted(EntityEvent)
for the given entities.void
registerEntityUpdatedEvent
(List<Entity> entities) Register anEntityListener.entityUpdated(EntityEvent)
for the given entities.boolean
requiresPostCommitHandling
(org.hibernate.persister.entity.EntityPersister arg0) Methods inherited from interface org.hibernate.event.spi.PostCommitDeleteEventListener
onPostDeleteCommitFailed
Methods inherited from interface org.hibernate.event.spi.PostCommitInsertEventListener
onPostInsertCommitFailed
Methods inherited from interface org.hibernate.event.spi.PostCommitUpdateEventListener
onPostUpdateCommitFailed
Methods inherited from interface org.hibernate.event.spi.PostDeleteEventListener
onPostDelete
Methods inherited from interface org.hibernate.event.spi.PostInsertEventListener
onPostInsert
Methods inherited from interface org.hibernate.event.spi.PostUpdateEventListener
onPostUpdate
-
Method Details
-
registerEntityUpdatedEvent
Register anEntityListener.entityUpdated(EntityEvent)
for the given entities. The event will not be fired immediately but only after the transaction was committed successfully. -
registerEntityDeletedEvent
Register anEntityListener.entityDeleted(EntityEvent)
for the given entities. The event will not be fired immediately but only after the transaction was committed successfully. -
requiresPostCommitHandling
boolean requiresPostCommitHandling(org.hibernate.persister.entity.EntityPersister arg0)
-