|
||||||||||
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(java.lang.String name)
Creates a new instance of Lock with the specified name. |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name of this lock. |
java.lang.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(java.lang.String name)
Lock
with the specified name.
name
- the name of this lockMethod Detail |
---|
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |