org.apache.ode.bpel.iapi

## Interface EndpointReference

- All Known Subinterfaces:
    MutableEndpoint
  All Known Implementing Classes:
    URLEndpoint, WSAEndpoint, WSDL11Endpoint, WSDL20Endpoint

      public interface EndpointReference

  Encapsulation of an end-point reference. Implementation of this interface is provided by the integration layer. The implementing class must provide an implementation of the `Object.equals(java.lang.Object)` method that returns `true` if and only if the EPRs are equivalent.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static javax.xml.namespace.QName` | `SERVICE_REF_QNAME`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.w3c.dom.Document` | `toXML()` Convert the EPR to an XML representation.

- - ### Field Detail

    - #### SERVICE_REF_QNAME

          static final javax.xml.namespace.QName SERVICE_REF_QNAME

  - ### Method Detail

    - #### toXML

          org.w3c.dom.Document toXML()

      Convert the EPR to an XML representation. The XML structure is up to the integration layer. This method is used by the BPEL engine to persist EPR references in the database. TODO: avoid using DOM
      Returns:
        destination for the generated XML