- All Implemented Interfaces:
Serializable,Comparable<McProtocolVersion>
Enumeration holding supported WS-MakeConnection protocol versions
- Author:
- Marek Potociar (marek.potociar at sun.com)
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic McProtocolVersionProvides a default reliable messaging version value.booleanDetermines if the tested string is a valid WS-Addressing action header value that belongs to a WS-MakeConnection protocol faultbooleanisProtocolAction(String wsaAction) Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-MakeConnection protocol messagestatic McProtocolVersionReturns 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.
-
Enum Constant Details
-
WSMC200702
-
-
Field Details
-
protocolNamespaceUri
Namespaces -
policyNamespaceUri
-
wsmcAction
Action constants -
wsmcFaultAction
-
messagePendingHeaderName
Header names -
unsupportedSelectionFaultCode
Fault codes -
missingSelectionFaultCode
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getDefault
Provides a default reliable messaging version value.- Returns:
- a default reliable messaging version value. Currently returns
WSMC200702.
-
isProtocolAction
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:
truein case thewsaActionparameter is a valid WS-Addressing action header value that belongs to a WS-MakeConnection protocol message
-
isFault
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:
truein case thewsaActionparameter is a valid WS-Addressing action header value that belongs to a WS-MakeConnection protocol fault
-