org.jboss.ejb.plugins.lock
Class MethodOnlyEJBLock

java.lang.Object
  extended byorg.jboss.ejb.plugins.lock.BeanLockSupport (src) 
      extended byorg.jboss.ejb.plugins.lock.NoLock (src) 
          extended byorg.jboss.ejb.plugins.lock.MethodOnlyEJBLock
All Implemented Interfaces:
BeanLock (src) , BeanLockExt (src) , Resource (src)

public class MethodOnlyEJBLock
extends NoLock (src)

This class has been deprecated. Holds all locks for entity beans, not used for stateful.

All BeanLocks have a reference count. When the reference count goes to 0, the lock is released from the id -> lock mapping.


Field Summary
 
Fields inherited from class org.jboss.ejb.plugins.lock.BeanLockSupport (src)
container, id, refs, synched, synchedDepth, tx, txTimeout
 
Constructor Summary
MethodOnlyEJBLock()
           
 
Methods inherited from class org.jboss.ejb.plugins.lock.NoLock (src)
endInvocation, endTransaction, schedule, wontSynchronize
 
Methods inherited from class org.jboss.ejb.plugins.lock.BeanLockSupport (src)
addRef, attemptSync, getId, getRefs, getResourceHolder, getTransaction, releaseSync, removeRef, setContainer, setId, setTimeout, setTransaction, sync
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodOnlyEJBLock

public MethodOnlyEJBLock()