Top Description Interfaces Classes
[default module]

Package org.hibernate.event


This package defines an event framework for Hibernate.

Interface Summary

Modifier and TypeInterface and Description
public interface
AutoFlushEventListener

Defines the contract for handling of session auto-flush events.

public interface
DeleteEventListener

Defines the contract for handling of deletion events generated from a session.

public interface
Destructible

Contract for listeners which require notification of SessionFactory closing, presumably to destroy internal state.

public interface
DirtyCheckEventListener

Defines the contract for handling of session dirty-check events.

public interface
public interface
EvictEventListener

Defines the contract for handling of evict events generated from a session.

public interface
public interface
FlushEventListener

Defines the contract for handling of session flush events.

public interface
Initializable

An event listener that requires access to mappings to initialize state at initialization time.

public interface
InitializeCollectionEventListener

Defines the contract for handling of collection initialization events generated by a session.

public interface
LoadEventListener

Defines the contract for handling of load events generated from a session.

public interface
LockEventListener

Defines the contract for handling of lock events generated from a session.

public interface
MergeEventListener

Defines the contract for handling of merge events generated from a session.

public interface
PersistEventListener

Defines the contract for handling of create events generated from a session.

public interface
PostCollectionRecreateEventListener

Called after recreating a collection

public interface
PostCollectionRemoveEventListener

Called after removing a collection

public interface
PostCollectionUpdateEventListener

Called after updating a collection

public interface
PostDeleteEventListener

Called after deleting an item from the datastore

public interface
PostInsertEventListener

Called after insterting an item in the datastore

public interface
PostLoadEventListener

Occurs after an an entity instance is fully loaded.

public interface
PostUpdateEventListener

Called after updating the datastore

public interface
PreCollectionRecreateEventListener

Called before recreating a collection

public interface
PreCollectionRemoveEventListener

Called before removing a collection

public interface
PreCollectionUpdateEventListener

Called before updating a collection

public interface
PreDeleteEventListener

Called before deleting an item from the datastore

public interface
PreInsertEventListener

Called before inserting an item in the datastore

public interface
PreLoadEventListener

Called before injecting property values into a newly loaded entity instance.

public interface
PreUpdateEventListener

Called before updating the datastore

public interface
RefreshEventListener

Defines the contract for handling of refresh events generated from a session.

public interface
ReplicateEventListener

Defines the contract for handling of replicate events generated from a session.

public interface
SaveOrUpdateEventListener

Defines the contract for handling of update events generated from a session.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractCollectionEvent

Defines a base class for events involving collections.

public abstract class
AbstractEvent

Defines a base class for Session generated events.

public abstract class
AbstractPreDatabaseOperationEvent

Represents an operation we are about to perform against the database.

public class
AutoFlushEvent

Defines an event class for the auto-flushing of a session.

public class
DeleteEvent

Defines an event class for the deletion of an entity.

public class
DirtyCheckEvent

Defines an event class for the dirty-checking of a session.

public class
EventListeners

A convience holder for all defined session event listeners.

public class
EvictEvent

Defines an event class for the evicting of an entity.

public class
public class
FlushEvent

Defines an event class for the flushing of a session.

public class
InitializeCollectionEvent

An event that occurs when a collection wants to be initialized

public class
LoadEvent

Defines an event class for the loading of an entity.

public class
LockEvent

Defines an event class for the locking of an entity.

public class
MergeEvent

An event class for merge() and saveOrUpdateCopy()

public class
PersistEvent

An event class for persist()

public class
PostCollectionRecreateEvent

An event that occurs after a collection is recreated

public class
PostCollectionRemoveEvent

An event that occurs after a collection is removed

public class
PostCollectionUpdateEvent

An event that occurs after a collection is updated

public class
PostDeleteEvent

Occurs after deleting an item from the datastore

public class
PostInsertEvent

Occurs after inserting an item in the datastore

public class
PostLoadEvent

Occurs after an an entity instance is fully loaded.

public class
PostUpdateEvent

Occurs after the datastore is updated

public class
PreCollectionRecreateEvent

An event that occurs before a collection is recreated

public class
PreCollectionRemoveEvent

An event that occurs before a collection is removed

public class
PreCollectionUpdateEvent

An event that occurs before a collection is updated

public class
PreDeleteEvent

Represents a pre-delete event, which occurs just prior to performing the deletion of an entity from the database.

public class
PreInsertEvent

Represents a pre-insert event, which occurs just prior to performing the insert of an entity into the database.

public class
PreLoadEvent

Called before injecting property values into a newly loaded entity instance.

public class
PreUpdateEvent

Represents a pre-update event, which occurs just prior to performing the update of an entity in the database.

public class
RefreshEvent

Defines an event class for the refreshing of an object.

public class
ReplicateEvent

Defines an event class for the replication of an entity.

public class
SaveOrUpdateEvent

An event class for saveOrUpdate()