/** * Handle the soap fault event. * @param soapFault The soap fault. * @param map The addressing context. * @param arjunaContext The arjuna context. */ public void soapFault(final SoapFault soapFault, final MAP map, final ArjunaContext arjunaContext) { ended() ; try { if (coordinator != null) { coordinator.fail(soapFault.getSubcode()) ; } } catch (final Throwable th) {} // ignore }
/** * Execute the exit transition. * */ private void executeExit() { try { coordinator.exit() ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception from coordinator exit", th) ; } return ; } sendExited() ; ended() ; }
/** * Execute the exit transition. * */ private void executeExit() { try { coordinator.exit() ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception from coordinator exit", th) ; } return ; } sendExited() ; ended() ; }
/** * 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) ; } } }
public void exit() throws TXControlRuntimeException { try { baParticipantManagerThreadLocal.get().exit(); } catch (Exception e) { throw new TXControlRuntimeException("Exception when calling 'exit' on participant manager", e); } }
public void cannotComplete() throws TXControlRuntimeException { try { baParticipantManagerThreadLocal.get().cannotComplete(); cannotCompleteThreadLocal.set(true); } catch (Exception e) { throw new TXControlRuntimeException("Exception when calling 'cannotComplete' on participant manager", e); } }
public void fail() throws TXControlRuntimeException { try { //todo: Why does this take a QName? baParticipantManagerThreadLocal.get().fail(null); } catch (Exception e) { throw new TXControlRuntimeException("Exception when calling 'fail' on participant manager", e); } }
/** * Execute the exit transition. * */ private void executeExit() { try { coordinator.exit() ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception from coordinator exit", th) ; } return ; } sendExited() ; ended() ; }
/** * Execute the exit transition. * */ private void executeExit() { try { coordinator.exit() ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception from coordinator exit", th) ; } return ; } sendExited() ; ended() ; }
/** * Handle the soap fault event. * @param soapFault The soap fault. * @param map The addressing context. * @param arjunaContext The arjuna context. */ public void soapFault(final SoapFault soapFault, final MAP map, final ArjunaContext arjunaContext) { ended() ; try { if (coordinator != null) { coordinator.fail(soapFault.getSubcode()) ; } } catch (final Throwable th) {} // ignore }
/** * 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) ; } } }
public void readOnly() throws TXControlRuntimeException { try { baParticipantManagerThreadLocal.get().exit(); } catch (Exception e) { throw new TXControlRuntimeException("Exception when calling 'exit' on participant manager", e); } }
@Override public void notifyFailure() throws TXFrameworkException { try { participantManager.cannotComplete(); } catch (WrongStateException e) { throw new TXFrameworkException("Error notifying cannotComplete on participant manager.", e); } catch (UnknownTransactionException e) { throw new TXFrameworkException("Error notifying cannotComplete on participant manager.", e); } catch (SystemException e) { throw new TXFrameworkException("Error notifying cannotComplete on participant manager.", e); } Participant.suspend(); WSBATxControlImpl.suspend(); }
/** * Execute the exit transition. * */ private void executeExit() { try { coordinator.exit() ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception from coordinator exit", th) ; } return ; } sendExited() ; ended() ; }
/** * Handle the soap fault event. * @param soapFault The soap fault. * @param map The addressing context. * @param arjunaContext The arjuna context. */ public void soapFault(final SoapFault soapFault, final MAP map, final ArjunaContext arjunaContext) { ended() ; try { if (coordinator != null) { coordinator.fail(soapFault.getSubcode()) ; } } catch (final Throwable th) {} // ignore }
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) ; } } }