net.sf.farrago.util
Class FarragoDdlLockManager

java.lang.Object
  extended by net.sf.farrago.util.FarragoDdlLockManager

public class FarragoDdlLockManager
extends Object


Field Summary
private  ConcurrentHashMap<Object,Set<String>> objectsInUse
           
 
Constructor Summary
FarragoDdlLockManager()
           
 
Method Summary
 void addObjectsInUse(Object context, Set<String> mofIds)
           
 boolean isObjectInUse(String mofId)
           
 void removeObjectsInUse(Object context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objectsInUse

private final ConcurrentHashMap<Object,Set<String>> objectsInUse
Constructor Detail

FarragoDdlLockManager

public FarragoDdlLockManager()
Method Detail

addObjectsInUse

public void addObjectsInUse(Object context,
                            Set<String> mofIds)

removeObjectsInUse

public void removeObjectsInUse(Object context)

isObjectInUse

public boolean isObjectInUse(String mofId)