|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<McRuntimeVersion>
com.sun.xml.ws.rx.mc.runtime.McRuntimeVersion
public enum McRuntimeVersion
| Enum Constant Summary | |
|---|---|
WSMC200702
|
|
| Field Summary | |
|---|---|
McProtocolVersion |
protocolVersion
General constants |
| Method Summary | |
|---|---|
static McRuntimeVersion |
forProtocolVersion(McProtocolVersion protocolVersion)
|
String |
getAnonymousAddress(String uuid)
TODO javadoc |
String |
getClientId(String eprAddress)
TODO javadoc |
JAXBRIContext |
getJaxbContext(AddressingVersion av)
Returns JAXB context that is intitialized based on a given addressing version. |
Unmarshaller |
getUnmarshaller(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. |
| 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 |
|---|
public static final McRuntimeVersion WSMC200702
| Field Detail |
|---|
public final McProtocolVersion protocolVersion
| Method Detail |
|---|
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 name
NullPointerException - if the argument is nullpublic static McRuntimeVersion forProtocolVersion(McProtocolVersion protocolVersion)
public String getClientId(String eprAddress)
replyToAddress -
public String getAnonymousAddress(String uuid)
public Unmarshaller getUnmarshaller(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 JAXBRIContext getJaxbContext(AddressingVersion av)
av - addressing version used to initialize JAXB context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||