org.kuali.rice.core.resourceloader
Class ContextualConfigLock

java.lang.Object
  extended by org.kuali.rice.core.resourceloader.ContextualConfigLock

public class ContextualConfigLock
extends Object

Synchronization primitive that implements a condition that can be waited upon.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
private  boolean fired
           
private  Object lock
           
private static org.apache.log4j.Logger LOG
           
private  String name
           
 
Constructor Summary
ContextualConfigLock()
           
ContextualConfigLock(String name)
           
 
Method Summary
 void await()
           
 void fire()
           
 boolean hasFired()
           
 void reset()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOG

private static final org.apache.log4j.Logger LOG

name

private String name

fired

private boolean fired

lock

private Object lock
Constructor Detail

ContextualConfigLock

public ContextualConfigLock()

ContextualConfigLock

public ContextualConfigLock(String name)
Method Detail

await

public void await()

hasFired

public boolean hasFired()

fire

public void fire()

reset

public void reset()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.