public String status () throws SystemException { final State state = participant.getStatus() ; return (state == null ? null : state.getValue().getLocalPart()) ; }
public String status () throws SystemException { final State state = participant.getStatus() ; return (state == null ? null : state.getValue().getLocalPart()) ; }
public String status () throws SystemException { final State state = participant.getStatus() ; return (state == null ? null : state.getValue().getLocalPart()) ; }
public String status () throws SystemException { final State state = participant.getStatus() ; return (state == null ? null : state.getValue().getLocalPart()) ; }
public String status () throws SystemException { final State state = participant.getStatus() ; return (state == null ? null : state.getValue().getLocalPart()) ; }
public String status () throws SystemException { final State state = participant.getStatus() ; return (state == null ? null : state.getValue().getLocalPart()) ; }
/** * Send the status message. * @param state The state. * */ private void sendStatus(final State state) { final MAP map = createContext() ; try { CoordinatorCompletionParticipantClient.getClient().sendStatus(participant, map, instanceIdentifier, state.getValue()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Status", th) ; } } }
/** * Send the status message. * @param state The state. * */ private void sendStatus(final State state) { final MAP map = createContext() ; try { CoordinatorCompletionCoordinatorClient.getClient().sendStatus(coordinator, map, instanceIdentifier, state.getValue()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Status", th) ; } } }
/** * Send the status message. * @param state The state. * */ private void sendStatus(final State state) { final MAP map = createContext() ; try { ParticipantCompletionCoordinatorClient.getClient().sendStatus(coordinator, map, instanceIdentifier, state.getValue()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Status", th) ; } } }
/** * Send the status message. * @param state The state. * */ private void sendStatus(final State state) { final MAP map = createContext() ; try { ParticipantCompletionParticipantClient.getClient().sendStatus(participant, map, instanceIdentifier, state.getValue()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Status", th) ; } } }
/** * Send the status message. * @param state The state. * */ private void sendStatus(final State state) { final MAP map = createContext() ; try { CoordinatorCompletionParticipantClient.getClient().sendStatus(participant, map, instanceIdentifier, state.getValue()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Status", th) ; } } }
/** * Send the status message. * @param state The state. * */ private void sendStatus(final State state) { final MAP map = createContext() ; try { ParticipantCompletionCoordinatorClient.getClient().sendStatus(coordinator, map, instanceIdentifier, state.getValue()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Status", th) ; } } }
/** * Send the status message. * @param state The state. * */ private void sendStatus(final State state) { final MAP map = createContext() ; try { CoordinatorCompletionParticipantClient.getClient().sendStatus(participant, map, instanceIdentifier, state.getValue()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Status", th) ; } } }
/** * Send the status message. * @param state The state. * */ private void sendStatus(final State state) { final MAP map = createContext() ; try { ParticipantCompletionParticipantClient.getClient().sendStatus(participant, map, instanceIdentifier, state.getValue()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Status", th) ; } } }
/** * Send the status message. * @param state The state. * */ private void sendStatus(final State state) { final MAP map = createContext() ; try { CoordinatorCompletionCoordinatorClient.getClient().sendStatus(coordinator, map, instanceIdentifier, state.getValue()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Status", th) ; } } }
/** * Send the status message. * @param state The state. * */ private void sendStatus(final State state) { final MAP map = createContext() ; try { ParticipantCompletionParticipantClient.getClient().sendStatus(participant, map, instanceIdentifier, state.getValue()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Status", th) ; } } }
/** * Send the status message. * @param state The state. * */ private void sendStatus(final State state) { final MAP map = createContext() ; try { ParticipantCompletionCoordinatorClient.getClient().sendStatus(coordinator, map, instanceIdentifier, state.getValue()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Status", th) ; } } }
/** * Send the status message. * @param state The state. * */ private void sendStatus(final State state) { final MAP map = createContext() ; try { CoordinatorCompletionCoordinatorClient.getClient().sendStatus(coordinator, map, instanceIdentifier, state.getValue()) ; } catch (final Throwable th) { if (WSTLogger.logger.isTraceEnabled()) { WSTLogger.logger.tracev("Unexpected exception while sending Status", th) ; } } }
public boolean saveState(final OutputObjectState oos) { try { oos.packString(participant.getId()) ; // n.b. just use toString() for the endpoint -- it uses the writeTo() method which calls a suitable marshaller final StringWriter sw = new StringWriter() ; final XMLStreamWriter writer = SoapUtils.getXMLStreamWriter(sw) ; StreamHelper.writeStartElement(writer, QNAME_BACCWS_PARTICIPANT) ; String eprefText = participant.getParticipant().toString(); writer.writeCData(eprefText); StreamHelper.writeEndElement(writer, null, null) ; writer.close() ; oos.packString(sw.toString()) ; final State state = participant.getStatus(); final QName stateName = state.getValue(); final String ns = stateName.getNamespaceURI(); final String localPart = stateName.getLocalPart(); final String prefix = stateName.getPrefix(); oos.packString(ns != null ? ns : ""); oos.packString(localPart != null ? localPart : ""); oos.packString(prefix != null ? prefix : ""); return true ; } catch (final Throwable th) { WSTLogger.i18NLogger.error_wst11_stub_BusinessAgreementWithCoordinatorCompletionStub_2(th); return false ; } }
public boolean saveState(final OutputObjectState oos) { try { oos.packString(participant.getId()) ; // n.b. just use toString() for the endpoint -- it uses the writeTo() method which calls a suitable marshaller final StringWriter sw = new StringWriter() ; final XMLStreamWriter writer = SoapUtils.getXMLStreamWriter(sw) ; StreamHelper.writeStartElement(writer, QNAME_BACCWS_PARTICIPANT) ; String eprefText = participant.getParticipant().toString(); writer.writeCData(eprefText); StreamHelper.writeEndElement(writer, null, null) ; writer.close() ; oos.packString(sw.toString()) ; final State state = participant.getStatus(); final QName stateName = state.getValue(); final String ns = stateName.getNamespaceURI(); final String localPart = stateName.getLocalPart(); final String prefix = stateName.getPrefix(); oos.packString(ns != null ? ns : ""); oos.packString(localPart != null ? localPart : ""); oos.packString(prefix != null ? prefix : ""); return true ; } catch (final Throwable th) { WSTLogger.i18NLogger.error_wst11_stub_BusinessAgreementWithCoordinatorCompletionStub_2(th); return false ; } }