releaseMethodLock()
releaseMethodLock
if we reach the count of zero it means the instance is free from threads (and reentrency)
we wake up the next thread in the currentLock
public void schedule(MethodInvocation mi)
throws java.lang.Exception
setTransaction
public void setTransaction(javax.transaction.Transaction tx)
setTransaction(Transaction tx)
The setTransaction associates a transaction with the lock.
getTransaction
public javax.transaction.Transaction getTransaction()
endTransaction
public void endTransaction(javax.transaction.Transaction tx)
wontSynchronize
public void wontSynchronize(javax.transaction.Transaction tx)
isMethodLocked
public boolean isMethodLocked()
getNumMethodLocks
public int getNumMethodLocks()
addMethodLock
public void addMethodLock()
releaseMethodLock
public void releaseMethodLock()
releaseMethodLock
if we reach the count of zero it means the instance is free from threads (and reentrency)
we wake up the next thread in the currentLock