- java.lang.Object
-
- java.lang.Enum<McRuntimeVersion>
-
- com.sun.xml.ws.rx.mc.runtime.McRuntimeVersion
-
- All Implemented Interfaces:
Serializable,Comparable<McRuntimeVersion>
public enum McRuntimeVersion extends Enum<McRuntimeVersion>
- Author:
- Marek Potociar
-
-
Enum Constant Summary
Enum Constants Enum Constant Description WSMC200702
-
Field Summary
Fields Modifier and Type Field Description com.sun.xml.ws.rx.mc.api.McProtocolVersionprotocolVersionGeneral constants
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static McRuntimeVersionforProtocolVersion(com.sun.xml.ws.rx.mc.api.McProtocolVersion protocolVersion)StringgetAnonymousAddress(String uuid)TODO javadocStringgetClientId(String eprAddress)TODO javadocorg.glassfish.jaxb.runtime.api.JAXBRIContextgetJaxbContext(com.sun.xml.ws.api.addressing.AddressingVersion av)Returns JAXB context that is intitialized based on a given addressing version.jakarta.xml.bind.UnmarshallergetUnmarshaller(com.sun.xml.ws.api.addressing.AddressingVersion av)Creates JAXBUnmarshallerthat is able to unmarshall protocol elements for given WS-MC version.static McRuntimeVersionvalueOf(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.
-
-
-
Enum Constant Detail
-
WSMC200702
public static final McRuntimeVersion WSMC200702
-
-
Method Detail
-
values
public static McRuntimeVersion[] 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 (McRuntimeVersion c : McRuntimeVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static McRuntimeVersion 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
-
forProtocolVersion
public static McRuntimeVersion forProtocolVersion(com.sun.xml.ws.rx.mc.api.McProtocolVersion protocolVersion)
-
getClientId
public String getClientId(String eprAddress)
TODO javadoc- Parameters:
replyToAddress-- Returns:
-
getUnmarshaller
public jakarta.xml.bind.Unmarshaller getUnmarshaller(com.sun.xml.ws.api.addressing.AddressingVersion av) throws RxRuntimeExceptionCreates JAXBUnmarshallerthat 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 newUnmarshallerinstance 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 poolUnmarshallerinstances if possible as constructing a newUnmarshallerinstance is rather expensive. For additional information see this blog entry.- Returns:
- created JAXB unmarshaller
- Throws:
RxRuntimeException- in case the creation of unmarshaller failed
-
getJaxbContext
public org.glassfish.jaxb.runtime.api.JAXBRIContext getJaxbContext(com.sun.xml.ws.api.addressing.AddressingVersion av)
Returns JAXB context that is intitialized based on a given addressing version.- Parameters:
av- addressing version used to initialize JAXB context- Returns:
- JAXB context that is intitialized based on a given addressing version.
-
-