Package org.hibernate.event.internal
Class DefaultRefreshEventListener
java.lang.Object
org.hibernate.event.internal.DefaultRefreshEventListener
- All Implemented Interfaces:
RefreshEventListener
Defines the default refresh event listener used by hibernate for refreshing entities
in response to generated refresh events.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onRefresh
(RefreshEvent event) Handle the given refresh event.void
onRefresh
(RefreshEvent event, RefreshContext refreshedAlready) Handle the given refresh event.
-
Constructor Details
-
DefaultRefreshEventListener
public DefaultRefreshEventListener()
-
-
Method Details
-
onRefresh
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
Handle the given refresh event.- Specified by:
onRefresh
in interfaceRefreshEventListener
- Parameters:
event
- The refresh event to be handled.
-