198199200201202203204205206207208
throw new BrokerException("TransactionBroker " + txnBkr + " could not be found in the store", Status.NOT_FOUND); } // Just update the state txnBkr.copyState(bkr); } public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
755756757758759760761762763764765
// Update the participant broker state for ( int i = 0, len = txnBrokers.length; i < len; i++ ) { TransactionBroker bkr = txnBrokers[i]; if ( bkr.equals( txnBkr ) ) { bkr.copyState( txnBkr ); break; // done } } // Now update the DB entry