be.ehealth.businessconnector.mycarenet.agreementv2.service

## Class ServiceFactory

- java.lang.Object
- - be.ehealth.businessconnector.mycarenet.agreementv2.service.ServiceFactory

-     public final class ServiceFactory
      extends Object

  A factory used in `AgreementService` to communicate with the endpoint.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static GenericRequest` | `getAgreementPort(SAMLToken token)` Creates a `GenericRequest` for the given SAML token and soap action

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getAgreementPort

          public static GenericRequest getAgreementPort(SAMLToken token)
                                                 throws TechnicalConnectorException

      Creates a `GenericRequest` for the given SAML token and soap action
      Parameters:
        `token` - the token
      Returns:
        the generic request
      Throws:
        `TechnicalConnectorException` - the technical connector exception

Connector Packaging generic 4.7.3 API
Copyright © {inceptionYear}-2025 eHealth. All Rights Reserved.