/** * Return the enumeration for the specified value. * @param name The name. * @return The enumeration. * @throws com.arjuna.webservices.util.InvalidEnumerationException if the name is not valid. */ public static State toState11(final String name) throws InvalidEnumerationException { return toState11(getQualifiedName(name)) ; }
/** * Construct the state enumeration with the specified value. * @param value The localName of the state enumeration. */ private State(final String value) { super(getQualifiedName(value)) ; }
/** * Get the value of this enumeration. * @return the value. */ public QName getValue() { return (QName)getKey() ; }
/** * 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) ; } } }
public String status () throws SystemException { final State state = participant.getStatus() ; return (state == null ? null : state.getValue().getLocalPart()) ; }
/** * Resolve the enumeration for the specified value. * @param value The value. * @return The enumeration. * @throws com.arjuna.webservices.util.InvalidEnumerationException if the value is not valid. */ protected Enumerated resolveEnum(final Object value) throws InvalidEnumerationException { return toState11((QName)value) ; }
/** * Return the enumeration for the specified value. * @param name The name. * @return The enumeration. * @throws com.arjuna.webservices.util.InvalidEnumerationException if the name is not valid. */ public static State toState11(final String name) throws InvalidEnumerationException { return toState11(getQualifiedName(name)) ; }
public String status () throws SystemException { final State state = participant.getStatus() ; return (state == null ? null : state.getValue().getLocalPart()) ; }
/** * Construct the state enumeration with the specified value. * @param value The localName of the state enumeration. */ private State(final String value) { super(getQualifiedName(value)) ; }
/** * Get the value of this enumeration. * @return the value. */ public QName getValue() { return (QName)getKey() ; }
/** * Resolve the enumeration for the specified value. * @param value The value. * @return The enumeration. * @throws com.arjuna.webservices.util.InvalidEnumerationException if the value is not valid. */ protected Enumerated resolveEnum(final Object value) throws InvalidEnumerationException { return toState11((QName)value) ; }
/** * Return the enumeration for the specified value. * @param name The name. * @return The enumeration. * @throws com.arjuna.webservices.util.InvalidEnumerationException if the name is not valid. */ public static State toState11(final String name) throws InvalidEnumerationException { return toState11(getQualifiedName(name)) ; }
public String status () throws SystemException { final State state = participant.getStatus() ; return (state == null ? null : state.getValue().getLocalPart()) ; }
/** * Construct the state enumeration with the specified value. * @param value The localName of the state enumeration. */ private State(final String value) { super(getQualifiedName(value)) ; }
/** * Get the value of this enumeration. * @return the value. */ public QName getValue() { return (QName)getKey() ; }
/** * Resolve the enumeration for the specified value. * @param value The value. * @return The enumeration. * @throws com.arjuna.webservices.util.InvalidEnumerationException if the value is not valid. */ protected Enumerated resolveEnum(final Object value) throws InvalidEnumerationException { return toState11((QName)value) ; }
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()) ; }