Package org.hibernate.event.spi
Interface LockEventListener
-
- All Known Implementing Classes:
DefaultLockEventListener
public interface LockEventListener
Defines the contract for handling of lock events generated from a session.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onLock(LockEvent event)
Handle the given lock event.
-
-
-
Method Detail
-
onLock
void onLock(LockEvent event) throws HibernateException
Handle the given lock event.- Parameters:
event
- The lock event to be handled.- Throws:
HibernateException
-
-