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

DefaultAutoFlushEventListener (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.event.def
Class DefaultAutoFlushEventListener

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

public class DefaultAutoFlushEventListener
extends AbstractFlushingEventListener
implements AutoFlushEventListener

Defines the default flush event listeners used by hibernate for flushing session state in response to generated auto-flush events.

Author:
Steve Ebersole
See Also:
Serialized Form

Constructor Summary
DefaultAutoFlushEventListener()
           
 
Method Summary
 void onAutoFlush(AutoFlushEvent event)
          Handle the given auto-flush 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

DefaultAutoFlushEventListener

public DefaultAutoFlushEventListener()
Method Detail

onAutoFlush

public void onAutoFlush(AutoFlushEvent event)
                 throws HibernateException
Handle the given auto-flush event.

Specified by:
onAutoFlush in interface AutoFlushEventListener
Parameters:
event - The auto-flush event to be handled.
Throws:
HibernateException