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 completed() throws TXControlRuntimeException { try { baParticipantManagerThreadLocal.get().completed(); } catch (Exception e) { throw new TXControlRuntimeException("Exception when calling 'completed' on participant manager", e); } }
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 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); } }
/** * 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 }
/** * 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 readOnly() throws TXControlRuntimeException { try { baParticipantManagerThreadLocal.get().exit(); } catch (Exception e) { throw new TXControlRuntimeException("Exception when calling 'exit' 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) ; } } }
/** * Executing the cannot complete transition. * * @throws SoapFault for SOAP errors. * */ private void executeCannotComplete() { try { coordinator.cannotComplete() ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception from coordinator error", th) ; } return ; } sendNotCompleted() ; 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 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) ; } } }
/** * Executing the cannot complete transition. * * @throws com.arjuna.webservices.SoapFault for SOAP errors. * @throws java.io.IOException for transport errors. * */ private void executeCannotComplete() { try { coordinator.cannotComplete() ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception from coordinator cannotComplete", th) ; } return ; } sendNotCompleted() ; ended() ; }
/** * Executing the fail transition. * * @throws com.arjuna.webservices.SoapFault for SOAP errors. * @throws java.io.IOException for transport errors. * */ private void executeFail(QName fail) { try { coordinator.fail(fail) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception from coordinator fault", th) ; } return ; } sendFailed() ; 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) ; } } }
/** * Executing the cannot complete transition. * * @throws com.arjuna.webservices.SoapFault for SOAP errors. * @throws java.io.IOException for transport errors. * */ private void executeCannotComplete() { try { coordinator.cannotComplete() ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception from coordinator cannotComplete", th) ; } return ; } sendNotCompleted() ; ended() ; }
/** * Executing the fail transition. * * @throws com.arjuna.webservices.SoapFault for SOAP errors. * @throws java.io.IOException for transport errors. * */ private void executeFail(QName fail) { try { coordinator.fail(fail) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception from coordinator fault", th) ; } return ; } sendFailed() ; 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) ; } } }