/** * Release any BridgeDurableParticipant instances that have been driven * through to completion by their parent XTS transaction. */ private void cleanupRecoveredParticipants() { txbridgeLogger.logger.trace("InboundBridgeRecoveryManager.cleanupRecoveredParticipants()"); synchronized(participantsAwaitingRecovery) { Iterator<org.jboss.jbossts.txbridge.inbound.BridgeDurableParticipant> iter = participantsAwaitingRecovery.iterator(); while(iter.hasNext()) { BridgeDurableParticipant participant = iter.next(); if(!participant.isAwaitingRecovery()) { iter.remove(); } } } }