public class

DefaultEvictEventListener

extends Object
implements EvictEventListener
java.lang.Object
   ↳ org.hibernate.event.def.DefaultEvictEventListener

Class Overview

Defines the default evict event listener used by hibernate for evicting entities in response to generated flush events. In particular, this implementation will remove any hard references to the entity that are held by the infrastructure (references held by application or other persistent instances are okay)

Summary

Public Constructors
DefaultEvictEventListener()
Public Methods
void onEvict(EvictEvent event)
Handle the given evict event.
Protected Methods
void doEvict(Object object, EntityKey key, EntityPersister persister, EventSource session)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.hibernate.event.EvictEventListener

Public Constructors

public DefaultEvictEventListener ()

Public Methods

public void onEvict (EvictEvent event)

Handle the given evict event.

Parameters
event The evict event to be handled.

Protected Methods

protected void doEvict (Object object, EntityKey key, EntityPersister persister, EventSource session)