Package org.hibernate.event.spi
Interface RefreshEventListener
-
- All Known Implementing Classes:
DefaultRefreshEventListener
public interface RefreshEventListener
Defines the contract for handling of refresh events generated from a session.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onRefresh(RefreshEvent event)
Handle the given refresh event.void
onRefresh(RefreshEvent event, RefreshContext refreshedAlready)
-
-
-
Method Detail
-
onRefresh
void onRefresh(RefreshEvent event) throws HibernateException
Handle the given refresh event.- Parameters:
event
- The refresh event to be handled.- Throws:
HibernateException
-
onRefresh
void onRefresh(RefreshEvent event, RefreshContext refreshedAlready) throws HibernateException
- Throws:
HibernateException
-
-