1 4 package com.tc.objectserver.context; 5 6 import com.tc.async.api.EventContext; 7 import com.tc.objectserver.tx.ServerTransaction; 8 9 import java.util.Map ; 10 11 public class ApplyTransactionContext implements EventContext { 12 13 private final ServerTransaction txn; 14 private final Map objects; 15 16 public ApplyTransactionContext(ServerTransaction txn, Map objects) { 17 this.txn = txn; 18 this.objects = objects; 19 } 20 21 public Map getObjects() { 22 return objects; 23 } 24 25 public ServerTransaction getTxn() { 26 return txn; 27 } 28 29 } 30 | Popular Tags |