|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<RmProtocolVersion>
com.sun.xml.ws.rx.rm.api.RmProtocolVersion
public 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:
WSRM200502,
WSRM200702| Enum Constant Summary | |
|---|---|
WSRM200502
|
|
WSRM200702
This value represents the version of WS-ReliableMessaging protocol standardized by OASIS organization. |
|
| Method Summary | |
|---|---|
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 fault |
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 |
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 |
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 |
String |
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final RmProtocolVersion WSRM200502
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.
RmVersion| Field Detail |
|---|
public final String protocolNamespaceUri
public final String policyNamespaceUri
public final String ackRequestedAction
public final String createSequenceAction
public final String createSequenceResponseAction
public final String closeSequenceAction
public final String closeSequenceResponseAction
public final String sequenceAcknowledgementAction
public final String wsrmFaultAction
public final String terminateSequenceAction
public final String terminateSequenceResponseAction
public final QName rmAssertionName
public final QName sequenceTerminatedFaultCode
public final QName unknownSequenceFaultCode
public final QName invalidAcknowledgementFaultCode
public final QName messageNumberRolloverFaultCode
public final QName lastMessageNumberExceededFaultCode
public final QName createSequenceRefusedFaultCode
public final QName sequenceClosedFaultCode
public final QName wsrmRequiredFaultCode
| Method Detail |
|---|
public static RmProtocolVersion[] values()
for (RmProtocolVersion c : RmProtocolVersion.values()) System.out.println(c);
public static RmProtocolVersion valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static RmProtocolVersion getDefault()
WSRM200702.RmVersionpublic boolean isProtocolAction(String wsaAction)
WS-Addressing - action string
true in case the wsaAction parameter is a valid WS-Addressing
action header value that belongs to a WS-ReliableMessaging protocol messagepublic boolean isProtocolRequest(String wsaAction)
WS-Addressing - action string
true in case the wsaAction parameter is a valid WS-Addressing
action header value that belongs to a WS-ReliableMessaging protocol request messagepublic boolean isProtocolResponse(String wsaAction)
WS-Addressing - action string
true in case the wsaAction parameter is a valid WS-Addressing
action header value that belongs to a WS-ReliableMessaging protocol response messagepublic boolean isFault(String wsaAction)
WS-Addressing - action string
true in case the wsaAction parameter is a valid WS-Addressing
action header value that belongs to a WS-ReliableMessaging protocol faultpublic String toString()
toString in class Enum<RmProtocolVersion>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||