01: /*
02: * All content copyright (c) 2003-2007 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.msg.CommitTransactionMessage;
08: import com.tc.object.msg.CommitTransactionMessageFactory;
09:
10: import java.util.LinkedList;
11: import java.util.List;
12:
13: public class TestCommitTransactionMessageFactory implements
14: CommitTransactionMessageFactory {
15:
16: public final List messages = new LinkedList();
17:
18: public CommitTransactionMessage newCommitTransactionMessage() {
19: CommitTransactionMessage rv = new TestCommitTransactionMessage();
20: messages.add(rv);
21: return rv;
22: }
23:
24: }
|