当前页面:
在线文档首页 >
Hibernate 3.2.3 正式版 API 英文文档
DefaultLockEventListener (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档
org.hibernate.event.def
Class DefaultLockEventListener
java.lang.Object
org.hibernate.event.def.AbstractReassociateEventListener
org.hibernate.event.def.AbstractLockUpgradeEventListener
org.hibernate.event.def.DefaultLockEventListener
- All Implemented Interfaces:
- LockEventListener, Serializable
- 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.
- Author:
- Steve Ebersole
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLockEventListener
public DefaultLockEventListener()
onLock
public void onLock(LockEvent event)
throws HibernateException
- Handle the given lock event.
- Specified by:
onLock
in interface LockEventListener
- Parameters:
event
- The lock event to be handled.
- Throws:
HibernateException