Package org.hibernate.event.internal
Class DefaultAutoFlushEventListener
- java.lang.Object
-
- org.hibernate.event.internal.AbstractFlushingEventListener
-
- org.hibernate.event.internal.DefaultAutoFlushEventListener
-
- All Implemented Interfaces:
JpaBootstrapSensitive,AutoFlushEventListener
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.
-
-
Constructor Summary
Constructors Constructor Description DefaultAutoFlushEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonAutoFlush(AutoFlushEvent event)Handle the given auto-flush event.voidonAutoPreFlush(EventSource source)-
Methods inherited from class org.hibernate.event.internal.AbstractFlushingEventListener
flushEverythingToExecutions, flushEverythingToExecutions, getCascadingAction, getContext, logFlushResults, performExecutions, postFlush, postPostFlush, preFlush, wasJpaBootstrap
-
-
-
-
Method Detail
-
onAutoFlush
public void onAutoFlush(AutoFlushEvent event) throws HibernateException
Handle the given auto-flush event.- Specified by:
onAutoFlushin interfaceAutoFlushEventListener- Parameters:
event- The auto-flush event to be handled.- Throws:
HibernateException
-
onAutoPreFlush
public void onAutoPreFlush(EventSource source) throws HibernateException
- Specified by:
onAutoPreFlushin interfaceAutoFlushEventListener- Throws:
HibernateException
-
-