public void completed() throws TXControlRuntimeException { try { baParticipantManagerThreadLocal.get().completed(); } catch (Exception e) { throw new TXControlRuntimeException("Exception when calling 'completed' on participant manager", e); } }
/** * Execute the completed transition. * */ private void executeCompleted() { try { coordinator.completed() ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception from coordinator completed", th) ; } } }
/** * Execute the completed transition. * */ private void executeCompleted() { try { coordinator.completed() ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception from coordinator completed", th) ; } } }
/** * Execute the completed transition. * */ private void executeCompleted() { try { coordinator.completed() ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception from coordinator completed", th) ; } } }
/** * Execute the completed transition. * */ private void executeCompleted() { try { coordinator.completed() ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception from coordinator completed", th) ; } } }
/** * Execute the completed transition. * */ private void executeCompleted() { try { coordinator.completed() ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception from coordinator completed", th) ; } } }
/** * Execute the completed transition. * */ private void executeCompleted() { try { coordinator.completed() ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception from coordinator completed", th) ; } } }
@Override public void notifySuccess() throws TXFrameworkException { //todo: find a better way of getting the current status of the TX if (shouldComplete(serviceInvocationMeta.getServiceMethod()) && !((WSBATxControlImpl) wsbaTxControl).isCannotComplete()) { try { participantManager.completed(); } catch (WrongStateException e) { throw new TXFrameworkException("Error notifying completion on participant manager.", e); } catch (UnknownTransactionException e) { throw new TXFrameworkException("Error notifying completion on participant manager.", e); } catch (SystemException e) { throw new TXFrameworkException("Error notifying completion on participant manager.", e); } } Participant.suspend(); WSBATxControlImpl.suspend(); }