KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > Delegate


1
2 import org.ozoneDB.OzoneRemote;
3
4 /**
5  * $Id: $
6  */

7 public interface Delegate extends OzoneRemote {
8
9     /** all included update methods will join the started transaction
10      * and the whole operation will execute atomically
11      */

12     void updateFooBar(String JavaDoc aVal, String JavaDoc bVal, int cVal) throws Exception JavaDoc;
13
14     /** since no exception is thrown each update method will execute atomically
15      * i.e. individual rollback instead of complete roll back.
16      * This is an example of what you normally should NOT do
17      */

18     void updateFooBar2(String JavaDoc aVal, String JavaDoc bVal, int cVal);
19
20 }
21
Popular Tags