|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.event.def.AbstractReassociateEventListener
org.hibernate.event.def.AbstractLockUpgradeEventListener
public class AbstractLockUpgradeEventListener
A convenience base class for listeners that respond to requests to perform a pessimistic lock upgrade on an entity.
Constructor Summary | |
---|---|
AbstractLockUpgradeEventListener()
|
Method Summary | |
---|---|
protected void |
upgradeLock(java.lang.Object object,
EntityEntry entry,
LockOptions lockOptions,
EventSource source)
Performs a pessimistic lock upgrade on a given entity, if needed. |
Methods inherited from class org.hibernate.event.def.AbstractReassociateEventListener |
---|
reassociate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractLockUpgradeEventListener()
Method Detail |
---|
protected void upgradeLock(java.lang.Object object, EntityEntry entry, LockOptions lockOptions, EventSource source)
object
- The entity for which to upgrade the lock.entry
- The entity's EntityEntry instance.lockOptions
- contains the requested lock mode.source
- The session which is the source of the event being processed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |