org.jboss.ejb.plugins.lock
Class MethodOnlyEJBLock

java.lang.Object
  extended byorg.jboss.ejb.plugins.lock.BeanLockSupport
      extended byorg.jboss.ejb.plugins.lock.NoLock
          extended byorg.jboss.ejb.plugins.lock.MethodOnlyEJBLock
All Implemented Interfaces:
BeanLock, BeanLockExt, org.jboss.util.deadlock.Resource

public class MethodOnlyEJBLock
extends NoLock

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.

Version:
$Revision: 1.4.4.1 $

Revisions:

2001/08/08: billb

  1. Initial revision
Author:
Bill Burke

Field Summary
 
Fields inherited from class org.jboss.ejb.plugins.lock.BeanLockSupport
container, id, refs, synched, synchedDepth, tx, txTimeout
 
Constructor Summary
MethodOnlyEJBLock()
           
 
Methods inherited from class org.jboss.ejb.plugins.lock.NoLock
endInvocation, endTransaction, schedule, wontSynchronize
 
Methods inherited from class org.jboss.ejb.plugins.lock.BeanLockSupport
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()


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.