Package org.hibernate.event.spi
Interface LockEventListener
-
- All Superinterfaces:
java.io.Serializable
public interface LockEventListener extends java.io.SerializableDefines the contract for handling of lock events generated from a session.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonLock(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
-
-