Package org.hibernate.event.internal
Class DefaultLockEventListener
- java.lang.Object
-
- org.hibernate.event.internal.AbstractReassociateEventListener
-
- org.hibernate.event.internal.AbstractLockUpgradeEventListener
-
- org.hibernate.event.internal.DefaultLockEventListener
-
- All Implemented Interfaces:
LockEventListener
public class DefaultLockEventListener extends AbstractLockUpgradeEventListener implements LockEventListener
Defines the default lock event listeners used by hibernate to lock entities in response to generated lock events.
-
-
Constructor Summary
Constructors Constructor Description DefaultLockEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onLock(LockEvent event)
Handle the given lock event.-
Methods inherited from class org.hibernate.event.internal.AbstractLockUpgradeEventListener
upgradeLock
-
Methods inherited from class org.hibernate.event.internal.AbstractReassociateEventListener
reassociate
-
-
-
-
Method Detail
-
onLock
public void onLock(LockEvent event) throws HibernateException
Handle the given lock event.- Specified by:
onLock
in interfaceLockEventListener
- Parameters:
event
- The lock event to be handled.- Throws:
HibernateException
-
-