01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tc.objectserver.tx;
06:
07: import com.tc.object.tx.ServerTransactionID;
08: import com.tc.objectserver.context.CommitTransactionContext;
09: import com.tc.objectserver.context.RecallObjectsContext;
10:
11: import java.util.Collection;
12:
13: public class NullTransactionalObjectManager implements
14: TransactionalObjectManager {
15:
16: public void addTransactions(Collection txns) {
17: // Nop
18: }
19:
20: public boolean applyTransactionComplete(ServerTransactionID stxnID) {
21: // Nop
22: return false;
23: }
24:
25: public void lookupObjectsForTransactions() {
26: // Nop
27: }
28:
29: public void commitTransactionsComplete(CommitTransactionContext ctc) {
30: // Nop
31: }
32:
33: public void processApplyComplete() {
34: // Nop
35: }
36:
37: public void recallAllCheckedoutObject() {
38: // Nop
39: }
40:
41: public void recallCheckedoutObject(RecallObjectsContext roc) {
42: // Nop
43: }
44: }
|