Package org.hibernate.event.internal
Class DefaultRefreshEventListener
- java.lang.Object
-
- org.hibernate.event.internal.DefaultRefreshEventListener
-
- All Implemented Interfaces:
RefreshEventListener
public class DefaultRefreshEventListener extends Object implements RefreshEventListener
Defines the default refresh event listener used by hibernate for refreshing entities in response to generated refresh events.
-
-
Constructor Summary
Constructors Constructor Description DefaultRefreshEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onRefresh(RefreshEvent event)
Handle the given refresh event.void
onRefresh(RefreshEvent event, RefreshContext refreshedAlready)
Handle the given refresh event.
-
-
-
Method Detail
-
onRefresh
public void onRefresh(RefreshEvent event) throws HibernateException
Description copied from interface:RefreshEventListener
Handle the given refresh event.- Specified by:
onRefresh
in interfaceRefreshEventListener
- Parameters:
event
- The refresh event to be handled.- Throws:
HibernateException
-
onRefresh
public void onRefresh(RefreshEvent event, RefreshContext refreshedAlready)
Handle the given refresh event.- Specified by:
onRefresh
in interfaceRefreshEventListener
- Parameters:
event
- The refresh event to be handled.
-
-