Method Summary |
|
public void | addRef() Increment the reference count of this lock. |
public void | endInvocation(Invocation mi) Callback to the BeanLock to inform it that a method invocation has ended. |
public void | endTransaction(Transaction tx) Informs the lock that the given transaction has ended. |
public Object | getId() Get the bean instance cache id for the bean we are locking for. |
public int | getRefs() Get the current reference count of this lock. |
public Transaction | getTransaction() Get the transaction currently associated with this lock. |
public void | releaseSync() Release exclusive access to this lock instance. |
public void | removeRef() Decrement the reference count of this lock. |
public void | schedule(Invocation mi) This method implements the actual logic of the lock. |
public void | setContainer(Container container) set the ejb container of this lock. |
public void | setId(Object id) Set the bean instance cache id for the bean we are locking for. |
public void | setTimeout(int timeout) Change long we should wait for a lock. |
public void | setTransaction(Transaction tx) Set the transaction currently associated with this lock. |
public void | sync() Obtain exclusive access to this lock instance. |
public void | wontSynchronize(Transaction tx) Signifies to the lock that the transaction will not Synchronize
(Tx demarcation not seen). |