T - The type of protocol message.public class JaxbProtocolContext<T> extends java.lang.Object implements ProtocolContext
| Constructor and Description |
|---|
JaxbProtocolContext(javax.xml.bind.JAXBContext jaxbCtx) |
| Modifier and Type | Method and Description |
|---|---|
ProtocolMessageMarshaller<T> |
createMarshaller()
Creates a marshaller for serializing protocol messages.
|
ProtocolMessageUnmarshaller<T> |
createUnmarshaller()
Creates an unmarshaller for deserializing protocol messages.
|
public JaxbProtocolContext(javax.xml.bind.JAXBContext jaxbCtx)
public ProtocolMessageMarshaller<T> createMarshaller()
ProtocolContextcreateMarshaller in interface ProtocolContextpublic ProtocolMessageUnmarshaller<T> createUnmarshaller()
ProtocolContextcreateUnmarshaller in interface ProtocolContext