KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > objectserver > tx > NullTransactionalObjectManager


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

5 package com.tc.objectserver.tx;
6
7 import com.tc.net.protocol.tcm.ChannelID;
8 import com.tc.object.tx.ServerTransactionID;
9 import com.tc.objectserver.context.CommitTransactionContext;
10 import com.tc.objectserver.context.RecallObjectsContext;
11
12 import java.util.Collection JavaDoc;
13 import java.util.List JavaDoc;
14
15 public class NullTransactionalObjectManager implements TransactionalObjectManager {
16
17   public void addTransactions(ChannelID channelID, List JavaDoc txns, Collection JavaDoc completedTxnIds) {
18     // Nop
19
}
20
21   public boolean applyTransactionComplete(ServerTransactionID stxnID) {
22     // Nop
23
return false;
24   }
25
26   public void lookupObjectsForTransactions() {
27     // Nop
28
}
29
30   public void commitTransactionsComplete(CommitTransactionContext ctc) {
31     // Nop
32
}
33
34   public void processApplyComplete() {
35     // Nop
36
}
37
38   public void recallAllCheckedoutObject() {
39     // Nop
40
}
41
42   public void recallCheckedoutObject(RecallObjectsContext roc) {
43     // Nop
44
}
45
46 }
47
Popular Tags