org.hibernate.event.def
Class DefaultAutoFlushEventListener

java.lang.Object
  extended by org.hibernate.event.def.AbstractFlushingEventListener
      extended by org.hibernate.event.def.DefaultAutoFlushEventListener
All Implemented Interfaces:
Serializable, AutoFlushEventListener
Direct Known Subclasses:
EJB3AutoFlushEventListener

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


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.