Enum McProtocolVersion

java.lang.Object
java.lang.Enum<McProtocolVersion>
com.sun.xml.ws.rx.mc.api.McProtocolVersion
All Implemented Interfaces:
Serializable, Comparable<McProtocolVersion>

public enum McProtocolVersion extends Enum<McProtocolVersion>
Enumeration holding supported WS-MakeConnection protocol versions
Author:
Marek Potociar (marek.potociar at sun.com)
  • Enum Constant Details

  • Field Details

    • protocolNamespaceUri

      public final String protocolNamespaceUri
      Namespaces
    • policyNamespaceUri

      public final String policyNamespaceUri
    • wsmcAction

      public final String wsmcAction
      Action constants
    • wsmcFaultAction

      public final String wsmcFaultAction
    • messagePendingHeaderName

      public final QName messagePendingHeaderName
      Header names
    • unsupportedSelectionFaultCode

      public final QName unsupportedSelectionFaultCode
      Fault codes
    • missingSelectionFaultCode

      public final QName missingSelectionFaultCode
  • Method Details

    • values

      public static McProtocolVersion[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static McProtocolVersion valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getDefault

      public static McProtocolVersion getDefault()
      Provides a default reliable messaging version value.
      Returns:
      a default reliable messaging version value. Currently returns WSMC200702.
    • isProtocolAction

      public boolean isProtocolAction(String wsaAction)
      Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-MakeConnection protocol message
      Parameters:
      wsaAction - WS-Addressing action string
      Returns:
      true in case the wsaAction parameter is a valid WS-Addressing action header value that belongs to a WS-MakeConnection protocol message
    • isFault

      public boolean isFault(String wsaAction)
      Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-MakeConnection protocol fault
      Parameters:
      wsaAction - WS-Addressing action string
      Returns:
      true in case the wsaAction parameter is a valid WS-Addressing action header value that belongs to a WS-MakeConnection protocol fault