站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

DefaultDirtyCheckEventListener (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.event.def
Class DefaultDirtyCheckEventListener

java.lang.Object
  extended byorg.hibernate.event.def.AbstractFlushingEventListener
      extended byorg.hibernate.event.def.DefaultDirtyCheckEventListener
All Implemented Interfaces:
DirtyCheckEventListener, Serializable

public class DefaultDirtyCheckEventListener
extends AbstractFlushingEventListener
implements DirtyCheckEventListener

Defines the default dirty-check event listener used by hibernate for checking the session for dirtiness in response to generated dirty-check events.

Author:
Steve Ebersole
See Also:
Serialized Form

Constructor Summary
DefaultDirtyCheckEventListener()
           
 
Method Summary
 void onDirtyCheck(DirtyCheckEvent event)
          Handle the given dirty-check event.
 
Methods inherited from class org.hibernate.event.def.AbstractFlushingEventListener
flushEverythingToExecutions, getAnything, getCascadingAction, performExecutions, postFlush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDirtyCheckEventListener

public DefaultDirtyCheckEventListener()
Method Detail

onDirtyCheck

public void onDirtyCheck(DirtyCheckEvent event)
                  throws HibernateException
Handle the given dirty-check event.

Specified by:
onDirtyCheck in interface DirtyCheckEventListener
Parameters:
event - The dirty-check event to be handled.
Throws:
HibernateException