Package org.hibernate.event.spi
-
Interface Summary Interface Description AutoFlushEventListener Defines the contract for handling of session auto-flush events.ClearEventListener Listener for notification ofSession.clear()
DeleteEventListener Defines the contract for handling of deletion events generated from a session.DirtyCheckEventListener Defines the contract for handling of session dirty-check events.EntityCopyObserver An observer for detection of multiple entity representations for a persistent entity being merged.EventSource EvictEventListener Defines the contract for handling of evict events generated from a session.FlushEntityEventListener FlushEventListener Defines the contract for handling of session flush events.InitializeCollectionEventListener Defines the contract for handling of collection initialization events generated by a session.LoadEventListener Defines the contract for handling of load events generated from a session.LockEventListener Defines the contract for handling of lock events generated from a session.MergeEventListener Defines the contract for handling of merge events generated from a session.PersistEventListener Defines the contract for handling of create events generated from a session.PostCollectionRecreateEventListener Called after recreating a collectionPostCollectionRemoveEventListener Called after removing a collectionPostCollectionUpdateEventListener Called after updating a collectionPostCommitDeleteEventListener Called after an entity delete is committed to the datastore.PostCommitInsertEventListener Called after an entity insert is committed to the datastore.PostCommitUpdateEventListener Called after an entity update is committed to the datastore.PostDeleteEventListener Called after deleting an item from the datastorePostInsertEventListener Called after insterting an item in the datastorePostLoadEventListener Occurs after an an entity instance is fully loaded.PostUpdateEventListener Called after updating the datastorePreCollectionRecreateEventListener Called before recreating a collectionPreCollectionRemoveEventListener Called before removing a collectionPreCollectionUpdateEventListener Called before updating a collectionPreDeleteEventListener Called before deleting an item from the datastorePreInsertEventListener Called before inserting an item in the datastorePreLoadEventListener Called before injecting property values into a newly loaded entity instance.PreUpdateEventListener Called before updating the datastoreRefreshEventListener Defines the contract for handling of refresh events generated from a session.ReplicateEventListener Defines the contract for handling of replicate events generated from a session.ResolveNaturalIdEventListener Defines the contract for handling of resolve natural id events generated from a session.SaveOrUpdateEventListener Defines the contract for handling of update events generated from a session. -
Class Summary Class Description AbstractCollectionEvent Defines a base class for events involving collections.AbstractEvent Defines a base class for Session generated events.AbstractPreDatabaseOperationEvent Represents an operation we are about to perform against the database.AutoFlushEvent Defines an event class for the auto-flushing of a session.ClearEvent An event forSession.clear()
listeningDeleteEvent Defines an event class for the deletion of an entity.DirtyCheckEvent Defines an event class for the dirty-checking of a session.EventType<T> Enumeration of the recognized types of events, including meta-information about each.EvictEvent Defines an event class for the evicting of an entity.FlushEntityEvent FlushEvent Defines an event class for the flushing of a session.InitializeCollectionEvent An event that occurs when a collection wants to be initializedLoadEvent Defines an event class for the loading of an entity.LoadEventListener.LoadType LockEvent Defines an event class for the locking of an entity.MergeEvent An event class for merge() and saveOrUpdateCopy()PersistEvent An event class for persist()PostCollectionRecreateEvent An event that occurs after a collection is recreatedPostCollectionRemoveEvent An event that occurs after a collection is removedPostCollectionUpdateEvent An event that occurs after a collection is updatedPostDeleteEvent Occurs after deleting an item from the datastorePostInsertEvent Occurs after inserting an item in the datastorePostLoadEvent Occurs after an an entity instance is fully loaded.PostUpdateEvent Occurs after the datastore is updatedPreCollectionRecreateEvent An event that occurs before a collection is recreatedPreCollectionRemoveEvent An event that occurs before a collection is removedPreCollectionUpdateEvent An event that occurs before a collection is updatedPreDeleteEvent Represents a pre-delete event, which occurs just prior to performing the deletion of an entity from the database.PreInsertEvent Represents a pre-insert event, which occurs just prior to performing the insert of an entity into the database.PreLoadEvent Called before injecting property values into a newly loaded entity instance.PreUpdateEvent Represents a pre-update event, which occurs just prior to performing the update of an entity in the database.RefreshEvent Defines an event class for the refreshing of an object.ReplicateEvent Defines an event class for the replication of an entity.ResolveNaturalIdEvent Defines an event class for the resolving of an entity id from the entity's natural-idSaveOrUpdateEvent An event class for saveOrUpdate()