com.sun.xml.ws.rx.mc.api
Enum McProtocolVersion

java.lang.Object
  extended by java.lang.Enum<McProtocolVersion>
      extended by 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 Summary
WSMC200702
           
 
Field Summary
 QName messagePendingHeaderName
          Header names
 QName missingSelectionFaultCode
           
 String policyNamespaceUri
           
 String protocolNamespaceUri
          Namespaces
 QName unsupportedSelectionFaultCode
          Fault codes
 String wsmcAction
          Action constants
 String wsmcFaultAction
           
 
Method Summary
static McProtocolVersion getDefault()
          Provides a default reliable messaging version value.
 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
 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
static McProtocolVersion valueOf(String name)
          Returns the enum constant of this type with the specified name.
static McProtocolVersion[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

WSMC200702

public static final McProtocolVersion WSMC200702
Field Detail

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 Detail

values

public static McProtocolVersion[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (McProtocolVersion c : McProtocolVersion.values())
    System.out.println(c);

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 #WSRM200702.
See Also:
RmVersion

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:
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:
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


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.