@@ -0,0 +1,461 @@
+package transaction;%0A%0Apublic class WriteOnlyLock%3CT%3E extends Lock%3CT%3E %7B%0A%0A%09public WriteOnlyLock(T data) %7B%0A%09%09super(data);%0A%09%7D%0A%0A%09/**%0A%09 * Unsupported operation%0A%09 */%0A%09public void readLock() %7B%0A%09%09throw new UnsupportedOperationException();%0A%09%7D%0A%09%0A%09%0A%09/**%0A%09 * Unsupported operation%0A%09 */%0A%09public void readUnlock() %7B%0A%09%09throw new UnsupportedOperationException();%0A%09%7D%0A%0A%09/**%0A%09 * Unsupported operation%0A%09 */%0A%09public T getReadable() %7B%0A%09%09throw new UnsupportedOperationException();%0A%09%7D%0A%7D%0A

Add WriteOnlyLock (required for Transaction(Commit|Execute)Protocols)