litesoft
@ 947
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
// This Source Code is in the Public Domain per: http://unlicense.org package org.litesoft.orsup.transact; import java.util.*; import org.litesoft.orsup.nonpublic.*; public interface SucceededTransactionCommitListener { public static final SucceededTransactionCommitListener[] EMPTY_ARRAY = new SucceededTransactionCommitListener[0]; /** * Look at the pCommitParticipants and if you are interested in any create a * TransactionSuccessfulCommitCallBack return value with any data that you need to update your state. * <p/> * If the transaction is successfully commited, then the commitSucceeded() method on your * TransactionSuccessfulCommitCallBack will be called. * * @return !null means you want to be notified that the Transaction Commit Succeeded! */ void successfulCommitBeforeClear( String pTransactionsSourceId, Set<TransCommitEntry> pEntries, TransParticipantsManager pTransParticipantsManager ); } |