Class CoordinationContextHelper

java.lang.Object
com.arjuna.mw.wst11.common.CoordinationContextHelper

public class CoordinationContextHelper extends Object
Helper class for serialising Coordination Contexts into SOAP headers.
Author:
kevin
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.oasis_open.docs.ws_tx.wscoor._2006._06.CoordinationContextType
    deserialise(Element headerElement)
    Deserialise a coordination context from a DOM SOAP Header Element.
    static void
    serialise(org.oasis_open.docs.ws_tx.wscoor._2006._06.CoordinationContextType coordinationContextType, Element headerElement)
    Deserialise a coordination context from a DOM SOAP Header Element.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CoordinationContextHelper

      public CoordinationContextHelper()
  • Method Details

    • deserialise

      public static org.oasis_open.docs.ws_tx.wscoor._2006._06.CoordinationContextType deserialise(Element headerElement) throws jakarta.xml.bind.JAXBException
      Deserialise a coordination context from a DOM SOAP Header Element.
      Parameters:
      headerElement - The SOAP header element to deserialise.
      Returns:
      The coordination context.
      Throws:
      jakarta.xml.bind.JAXBException - for errors during parsing.
    • serialise

      public static void serialise(org.oasis_open.docs.ws_tx.wscoor._2006._06.CoordinationContextType coordinationContextType, Element headerElement) throws jakarta.xml.bind.JAXBException
      Deserialise a coordination context from a DOM SOAP Header Element.
      Parameters:
      headerElement - The SOAP header element to deserialise.
      Throws:
      jakarta.xml.bind.JAXBException - for errors during parsing.