public enum McRuntimeVersion extends Enum<McRuntimeVersion>
| Enum Constant and Description |
|---|
WSMC200702 |
| Modifier and Type | Field and Description |
|---|---|
McProtocolVersion |
protocolVersion
General constants
|
| Modifier and Type | Method and Description |
|---|---|
static McRuntimeVersion |
forProtocolVersion(McProtocolVersion protocolVersion) |
String |
getAnonymousAddress(String uuid)
TODO javadoc
|
String |
getClientId(String eprAddress)
TODO javadoc
|
com.sun.xml.bind.api.JAXBRIContext |
getJaxbContext(com.sun.xml.ws.api.addressing.AddressingVersion av)
Returns JAXB context that is intitialized based on a given addressing version.
|
Unmarshaller |
getUnmarshaller(com.sun.xml.ws.api.addressing.AddressingVersion av)
Creates JAXB
Unmarshaller that is able to unmarshall protocol elements for given WS-MC version. |
static McRuntimeVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static McRuntimeVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final McRuntimeVersion WSMC200702
public final McProtocolVersion protocolVersion
public static McRuntimeVersion[] values()
for (McRuntimeVersion c : McRuntimeVersion.values()) System.out.println(c);
public static McRuntimeVersion valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static McRuntimeVersion forProtocolVersion(McProtocolVersion protocolVersion)
public String getClientId(String eprAddress)
replyToAddress - public Unmarshaller getUnmarshaller(com.sun.xml.ws.api.addressing.AddressingVersion av) throws RxRuntimeException
Unmarshaller that is able to unmarshall protocol elements for given WS-MC version.
As JAXB unmarshallers are not thread-safe, this method should be used to create a new Unmarshaller
instance whenever there is a chance that the same instance might be invoked concurrently from multiple
threads. On th other hand, it is prudent to cache or pool Unmarshaller instances if possible as
constructing a new Unmarshaller instance is rather expensive.
For additional information see this blog entry.RxRuntimeException - in case the creation of unmarshaller failedpublic com.sun.xml.bind.api.JAXBRIContext getJaxbContext(com.sun.xml.ws.api.addressing.AddressingVersion av)
av - addressing version used to initialize JAXB contextCopyright © 2005–2018 Oracle Corporation. All rights reserved.