Package be.ehealth.businessconnector.hubv3.service

# Class ServiceFactory

java.lang.Object
be.ehealth.businessconnector.hubv3.service.ServiceFactory

public final class ServiceFactory extends Object
A factory for `HubTokenService`.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `INTRAHUB_PROTOCOL`
  `static final String`
  `PROP_ENDPOINT_INTRAHUB`
  `static final String`
  `PROP_HUBAPPID`
  `static final String`
  `PROP_HUBID`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static GenericRequest`
  `getIntraHubPort(SAMLToken token, String soapAction)`
  Creates a `GenericRequest` for the given SAML token and soap action
  `static HubTokenService`
  `getIntraHubService()`

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

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

- ## Field Details

  - ### INTRAHUB_PROTOCOL

    public static final String INTRAHUB_PROTOCOL
    See Also:
      - Constant Field Values

  - ### PROP_HUBID

    public static final String PROP_HUBID
    See Also:
      - Constant Field Values

  - ### PROP_HUBAPPID

    public static final String PROP_HUBAPPID
    See Also:
      - Constant Field Values

  - ### PROP_ENDPOINT_INTRAHUB

    public static final String PROP_ENDPOINT_INTRAHUB
    See Also:
      - Constant Field Values

- ## Method Details

  - ### getIntraHubPort

    public static GenericRequest getIntraHubPort(SAMLToken token, String soapAction) 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

  - ### getIntraHubService

    public static HubTokenService getIntraHubService()