|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.configuration.Lock
public class Lock
A simple class acting as lock.
Instances of this class are used by some configuration classes to synchronize themselves.
| Constructor Summary | |
|---|---|
Lock(String name)
Creates a new instance of Lock with the specified name. |
|
| Method Summary | |
|---|---|
String |
getName()
Returns the name of this lock. |
String |
toString()
Returns a string representation of this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Lock(String name)
Lock with the specified name.
name - the name of this lock| Method Detail |
|---|
public String getName()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||