KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > object > tx > optimistic > OptimisticTransactionManager


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.object.tx.optimistic;
5
6 import java.util.Map JavaDoc;
7
8 public interface OptimisticTransactionManager {
9
10   public void begin();
11
12   public void objectFieldChanged(TCObjectClone clone, String JavaDoc classname, String JavaDoc fieldname, Object JavaDoc newValue, int index);
13
14   public void logicalInvoke(TCObjectClone clone, int method, String JavaDoc methodName, Object JavaDoc[] parameters);
15
16   public void commit() throws ClassNotFoundException JavaDoc;
17
18   public void rollback();
19
20   public void addClonesToTransaction(Map JavaDoc cloned);
21
22   public Object JavaDoc convertToParameter(Object JavaDoc clone);
23
24 }
25
Popular Tags