/** * 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 { // TODO - we cannot do this with JaxWS. need to log something } 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 { // TODO - we cannot do this with JaxWS. need to log something } 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 { // TODO - we cannot do this with JaxWS. need to log something } catch (final Throwable th) {} // ignore }
/** * Handle the compensated event. * @param compensated The compensated notification. * @param map The addressing context. * @param arjunaContext The arjuna context. * * Active -> Active (invalid state) * Canceling -> Canceling (invalid state) * Completed -> Completed (invalid state) * Closing -> Closing (invalid state) * Compensating -> Ended * Failing-Active -> Failing-Active (invalid state) * Failing-Canceling -> Failing-Canceling (invalid state) * Failing-Compensating -> Failing-Compensating (invalid state) * NotCompleting -> NotCompleting (invalid state) * Exiting -> Exiting (invalid state) * Ended -> Ended */ public void compensated(final NotificationType compensated, final MAP map, final ArjunaContext arjunaContext) { final State current ; synchronized(this) { current = state ; if (current == State.STATE_COMPENSATING) { ended() ; } } }
/** * Handle the compensated event. * @param compensated The compensated notification. * @param map The addressing context. * @param arjunaContext The arjuna context. * * Active -> Active (invalid state) * Canceling -> Canceling (invalid state) * Completed -> Completed (invalid state) * Closing -> Closing (invalid state) * Compensating -> Ended * Failing-Active -> Failing-Active (invalid state) * Failing-Canceling -> Failing-Canceling (invalid state) * Failing-Compensating -> Failing-Compensating (invalid state) * NotCompleting -> NotCompleting (invalid state) * Exiting -> Exiting (invalid state) * Ended -> Ended */ public void compensated(final NotificationType compensated, final MAP map, final ArjunaContext arjunaContext) { final State current ; synchronized(this) { current = state ; if (current == State.STATE_COMPENSATING) { ended() ; } } }
/** * Handle the compensated event. * @param compensated The compensated notification. * @param map The addressing context. * @param arjunaContext The arjuna context. * * Active -> Active (invalid state) * Canceling -> Canceling (invalid state) * Completed -> Completed (invalid state) * Closing -> Closing (invalid state) * Compensating -> Ended * Failing-Active -> Failing-Active (invalid state) * Failing-Canceling -> Failing-Canceling (invalid state) * Failing-Compensating -> Failing-Compensating (invalid state) * NotCompleting -> NotCompleting (invalid state) * Exiting -> Exiting (invalid state) * Ended -> Ended */ public void compensated(final NotificationType compensated, final MAP map, final ArjunaContext arjunaContext) { final State current ; synchronized(this) { current = state ; if (current == State.STATE_COMPENSATING) { ended() ; } } }
/** * Handle the closed event. * @param closed The closed notification. * @param map The addressing context. * @param arjunaContext The arjuna context. * * Active -> Active (invalid state) * Canceling -> Canceling (invalid state) * Completed -> Completed (invalid state) * Closing -> Ended * Compensating -> Compensating (invalid state) * Failing-Active -> Failing-Active (invalid state) * Failing-Canceling -> Failing-Canceling (invalid state) * Failing-Compensating -> Failing-Compensating (invalid state) * NotCompleting -> NotCompleting (invalid state) * Exiting -> Exiting (invalid state) * Ended -> Ended */ public void closed(final NotificationType closed, final MAP map, final ArjunaContext arjunaContext) { final State current ; synchronized(this) { current = state ; if (current == State.STATE_CLOSING) { ended() ; } } }
/** * Handle the closed event. * @param closed The closed notification. * @param map The addressing context. * @param arjunaContext The arjuna context. * * Active -> Active (invalid state) * Canceling -> Canceling (invalid state) * Completed -> Completed (invalid state) * Closing -> Ended * Compensating -> Compensating (invalid state) * Failing-Active -> Failing-Active (invalid state) * Failing-Canceling -> Failing-Canceling (invalid state) * Failing-Compensating -> Failing-Compensating (invalid state) * NotCompleting -> NotCompleting (invalid state) * Exiting -> Exiting (invalid state) * Ended -> Ended */ public void closed(final NotificationType closed, final MAP map, final ArjunaContext arjunaContext) { final State current ; synchronized(this) { current = state ; if (current == State.STATE_CLOSING) { ended() ; } } }
/** * Handle the closed event. * @param closed The closed notification. * @param map The addressing context. * @param arjunaContext The arjuna context. * * Active -> Active (invalid state) * Canceling -> Canceling (invalid state) * Completed -> Completed (invalid state) * Closing -> Ended * Compensating -> Compensating (invalid state) * Failing-Active -> Failing-Active (invalid state) * Failing-Canceling -> Failing-Canceling (invalid state) * Failing-Compensating -> Failing-Compensating (invalid state) * NotCompleting -> NotCompleting (invalid state) * Exiting -> Exiting (invalid state) * Ended -> Ended */ public void closed(final NotificationType closed, final MAP map, final ArjunaContext arjunaContext) { final State current ; synchronized(this) { current = state ; if (current == State.STATE_CLOSING) { ended() ; } } }
/** * Handle the cancelled event. * @param cancelled The cancelled notification. * @param map The addressing context. * @param arjunaContext The arjuna context. * * Active -> Active (invalid state) * Canceling -> Ended * Completed -> Completed (invalid state) * Closing -> Closing (invalid state) * Compensating -> Compensating (invalid state) * Failing-Active -> Failing-Active (invalid state) * Failing-Canceling -> Failing-Canceling (invalid state) * Failing-Compensating -> Failing-Compensating (invalid state) * NotCompleting -> NotCompleting (invalid state) * Exiting -> Exiting (invalid state) * Ended -> Ended */ public void cancelled(final NotificationType cancelled, final MAP map, final ArjunaContext arjunaContext) { final State current ; synchronized(this) { current = state ; if (current == State.STATE_CANCELING) { ended() ; } } }
/** * Handle the cancelled event. * @param cancelled The cancelled notification. * @param map The addressing context. * @param arjunaContext The arjuna context. * * Active -> Active (invalid state) * Canceling -> Ended * Completed -> Completed (invalid state) * Closing -> Closing (invalid state) * Compensating -> Compensating (invalid state) * Failing-Active -> Failing-Active (invalid state) * Failing-Canceling -> Failing-Canceling (invalid state) * Failing-Compensating -> Failing-Compensating (invalid state) * NotCompleting -> NotCompleting (invalid state) * Exiting -> Exiting (invalid state) * Ended -> Ended */ public void cancelled(final NotificationType cancelled, final MAP map, final ArjunaContext arjunaContext) { final State current ; synchronized(this) { current = state ; if (current == State.STATE_CANCELING) { 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 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() ; }
/** * 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() ; }
/** * 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() ; }
/** * 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() ; } /**
/** * 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() ; } /**
/** * 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() ; } /**
/** * 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() ; }