org.apache.ojb.otm.lock
Class LockManager
java.lang.Object
org.apache.ojb.otm.lock.LockManager
public class LockManager
- extends Object
Manages locks on objects across transactions.
- Author:
- Raghu Rajah
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static LockManager getInstance()
ensureLock
public void ensureLock(Identity oid,
Transaction tx,
int lock,
PersistenceBroker pb)
throws LockingException
- Throws:
LockingException
getLockHeld
public int getLockHeld(Identity oid,
Transaction tx)
releaseLock
public void releaseLock(Identity oid,
Transaction tx)
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.