## Package org.hibernate.event.def

This package defines a default set of event listeners that implements the default behaviors of Hibernate.

See:
Description

Class Summary
AbstractFlushingEventListener: A convenience base class for listeners whose functionality results in flushing.
AbstractLockUpgradeEventListener: A convenience base class for listeners that respond to requests to perform a pessimistic lock upgrade on an entity.
AbstractReassociateEventListener: A convenience base class for listeners that respond to requests to reassociate an entity to a session ( such as through lock() or update() ).
AbstractSaveEventListener: A convenience bas class for listeners responding to save events.
AbstractVisitor: Abstract superclass of algorithms that walk a tree of property values of an entity, and perform specific functionality for collections, components and associated entities.
DefaultAutoFlushEventListener: Defines the default flush event listeners used by hibernate for flushing session state in response to generated auto-flush events.
DefaultDeleteEventListener: Defines the default delete event listener used by hibernate for deleting entities from the datastore in response to generated delete events.
DefaultDirtyCheckEventListener: Defines the default dirty-check event listener used by hibernate for checking the session for dirtiness in response to generated dirty-check events.
DefaultEvictEventListener: Defines the default evict event listener used by hibernate for evicting entities in response to generated flush events.
DefaultFlushEntityEventListener: An event that occurs for each entity instance at flush time
DefaultFlushEventListener: Defines the default flush event listeners used by hibernate for flushing session state in response to generated flush events.
DefaultInitializeCollectionEventListener
DefaultLoadEventListener: Defines the default load event listeners used by hibernate for loading entities in response to generated load events.
DefaultLockEventListener: Defines the default lock event listeners used by hibernate to lock entities in response to generated lock events.
DefaultMergeEventListener: Defines the default copy event listener used by hibernate for copying entities in response to generated copy events.
DefaultPersistEventListener: Defines the default create event listener used by hibernate for creating transient entities in response to generated create events.
DefaultPersistOnFlushEventListener: When persist is used as the cascade action, persistOnFlush should be used
DefaultPostLoadEventListener: We do 2 things here: Call `Lifecycle` interface if necessary Perform needed `EntityEntry.getLockMode()` related processing
DefaultPreLoadEventListener: Called before injecting property values into a newly loaded entity instance.
DefaultRefreshEventListener: Defines the default refresh event listener used by hibernate for refreshing entities in response to generated refresh events.
DefaultReplicateEventListener: Defines the default replicate event listener used by Hibernate to replicate entities in response to generated replicate events.
DefaultSaveEventListener: An event handler for save() events
DefaultSaveOrUpdateCopyEventListener
DefaultSaveOrUpdateEventListener: Defines the default listener used by Hibernate for handling save-update events.
DefaultUpdateEventListener: An event handler for update() events
DirtyCollectionSearchVisitor: Do we have a dirty collection here? 1.
EvictVisitor: Evict any collections referenced by the object from the session cache.
FlushVisitor: Process collections reachable from an entity.
OnLockVisitor: When a transient entity is passed to lock(), we must inspect all its collections and 1.
OnReplicateVisitor: When an entity is passed to replicate(), and there is an existing row, we must inspect all its collections and 1.
OnUpdateVisitor: When an entity is passed to update(), we must inspect all its collections and 1.
ProxyVisitor: Reassociates uninitialized proxies with the session
ReattachVisitor: Abstract superclass of visitors that reattach collections.
WrapVisitor: Wrap collections in a Hibernate collection wrapper.

## Package org.hibernate.event.def Description

This package defines a default set of event listeners that implements the default behaviors of Hibernate.

Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.