类 DefaultEvictEventListener
- java.lang.Object
-
- org.hibernate.event.internal.DefaultEvictEventListener
-
- 所有已实现的接口:
Serializable,EvictEventListener
public class DefaultEvictEventListener extends Object implements EvictEventListener
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)- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 DefaultEvictEventListener()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voiddoEvict(Object object, EntityKey key, EntityPersister persister, EventSource session)voidonEvict(EvictEvent event)Handle the given evict event.
-
-
-
方法详细资料
-
onEvict
public void onEvict(EvictEvent event) throws HibernateException
Handle the given evict event.- 指定者:
onEvict在接口中EvictEventListener- 参数:
event- The evict event to be handled.- 抛出:
HibernateException
-
doEvict
protected void doEvict(Object object, EntityKey key, EntityPersister persister, EventSource session) throws HibernateException
-
-