Package com.sun.xml.ws.rx.rm.api
Enum RmProtocolVersion
- java.lang.Object
-
- java.lang.Enum<RmProtocolVersion>
-
- com.sun.xml.ws.rx.rm.api.RmProtocolVersion
-
- All Implemented Interfaces:
Serializable
,Comparable<RmProtocolVersion>
public enum RmProtocolVersion extends Enum<RmProtocolVersion>
This enumeration contains all currently supported WS-ReliableMessaging versions. The choice of a WS-ReliableMessaging protocol version affects several attributes of Metro Reliable Messaging implementation, including the following:- FQN of WS-Policy assertions advertised in the service's WSDL
- Namespace of Ws-ReliableMessaging protocol messages
- Metro Reliable Messaging processing logic
- Author:
- Marek Potociar
- See Also:
WSRM200502
,WSRM200702
-
-
Enum Constant Summary
Enum Constants Enum Constant Description WSRM200502
WSRM200702
This value represents the version of WS-ReliableMessaging protocol standardized by OASIS organization.
-
Field Summary
Fields Modifier and Type Field Description String
ackRequestedAction
Action constantsString
closeSequenceAction
String
closeSequenceResponseAction
String
createSequenceAction
QName
createSequenceRefusedFaultCode
String
createSequenceResponseAction
QName
invalidAcknowledgementFaultCode
QName
lastMessageNumberExceededFaultCode
QName
messageNumberRolloverFaultCode
String
policyNamespaceUri
String
protocolNamespaceUri
NamespacesQName
rmAssertionName
Specification assertion nameString
sequenceAcknowledgementAction
QName
sequenceClosedFaultCode
QName
sequenceTerminatedFaultCode
Fault codesString
terminateSequenceAction
String
terminateSequenceResponseAction
QName
unknownSequenceFaultCode
String
wsrmFaultAction
QName
wsrmRequiredFaultCode
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RmProtocolVersion
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-ReliableMessaging protocol faultboolean
isProtocolAction(String wsaAction)
Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-ReliableMessaging protocol messageboolean
isProtocolRequest(String wsaAction)
Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-ReliableMessaging protocol request messageboolean
isProtocolResponse(String wsaAction)
Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-ReliableMessaging protocol response messageString
toString()
static RmProtocolVersion
valueOf(String name)
Returns the enum constant of this type with the specified name.static RmProtocolVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WSRM200502
public static final RmProtocolVersion WSRM200502
-
WSRM200702
public static final RmProtocolVersion WSRM200702
This value represents the version of WS-ReliableMessaging protocol standardized by OASIS organization. This is currently the most up-to-date version.
You should primarily use this version for your WS endpoints. It is compatible with clients running on Metro 1.3 or .NET 3.5 and later.
- See Also:
RmVersion
-
-
Field Detail
-
protocolNamespaceUri
public final String protocolNamespaceUri
Namespaces
-
policyNamespaceUri
public final String policyNamespaceUri
-
ackRequestedAction
public final String ackRequestedAction
Action constants
-
createSequenceAction
public final String createSequenceAction
-
createSequenceResponseAction
public final String createSequenceResponseAction
-
closeSequenceAction
public final String closeSequenceAction
-
closeSequenceResponseAction
public final String closeSequenceResponseAction
-
sequenceAcknowledgementAction
public final String sequenceAcknowledgementAction
-
wsrmFaultAction
public final String wsrmFaultAction
-
terminateSequenceAction
public final String terminateSequenceAction
-
terminateSequenceResponseAction
public final String terminateSequenceResponseAction
-
rmAssertionName
public final QName rmAssertionName
Specification assertion name
-
sequenceTerminatedFaultCode
public final QName sequenceTerminatedFaultCode
Fault codes
-
unknownSequenceFaultCode
public final QName unknownSequenceFaultCode
-
invalidAcknowledgementFaultCode
public final QName invalidAcknowledgementFaultCode
-
messageNumberRolloverFaultCode
public final QName messageNumberRolloverFaultCode
-
lastMessageNumberExceededFaultCode
public final QName lastMessageNumberExceededFaultCode
-
createSequenceRefusedFaultCode
public final QName createSequenceRefusedFaultCode
-
sequenceClosedFaultCode
public final QName sequenceClosedFaultCode
-
wsrmRequiredFaultCode
public final QName wsrmRequiredFaultCode
-
-
Method Detail
-
values
public static RmProtocolVersion[] 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 (RmProtocolVersion c : RmProtocolVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RmProtocolVersion 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 nameNullPointerException
- if the argument is null
-
getDefault
public static RmProtocolVersion 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-ReliableMessaging protocol message- Parameters:
WS
- -Addressing action string- Returns:
true
in case thewsaAction
parameter is a valid WS-Addressing action header value that belongs to a WS-ReliableMessaging protocol message
-
isProtocolRequest
public boolean isProtocolRequest(String wsaAction)
Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-ReliableMessaging protocol request message- Parameters:
WS
- -Addressing action string- Returns:
true
in case thewsaAction
parameter is a valid WS-Addressing action header value that belongs to a WS-ReliableMessaging protocol request message
-
isProtocolResponse
public boolean isProtocolResponse(String wsaAction)
Determines if the tested string is a valid WS-Addressing action header value that belongs to a WS-ReliableMessaging protocol response message- Parameters:
WS
- -Addressing action string- Returns:
true
in case thewsaAction
parameter is a valid WS-Addressing action header value that belongs to a WS-ReliableMessaging protocol response 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-ReliableMessaging protocol fault- Parameters:
WS
- -Addressing action string- Returns:
true
in case thewsaAction
parameter is a valid WS-Addressing action header value that belongs to a WS-ReliableMessaging protocol fault
-
toString
public String toString()
- Overrides:
toString
in classEnum<RmProtocolVersion>
-
-