return getName();
}
protected void ensureLock() throws IOException {
if (lockFile!=null) return; // we have one
lockFile=new LockFile(roleFile);
try {
lockFile.writeLock();
} catch (IOException ex) { // cannot obtain lock
lockFile=null; // assert lockFile == null
throw ex; // throw again