*/
public synchronized void delete()
throws MultipleLockException
{
// Remove the two stores we are responsible for:
DummyResourceReference rr = (DummyResourceReference) getExtensions();
try {
Resource r = rr.lock();
r.delete();
} catch (InvalidResourceException ex) {
} finally {
rr.invalidate();
rr.unlock();
}
rr = (DummyResourceReference) getDirectories();
try {
Resource r = rr.lock();
r.delete();
} catch (InvalidResourceException ex) {
} finally {
rr.invalidate();
rr.unlock();
}
super.delete();
}