Package be.ehealth.businessconnector.dmg.service

# Class ServiceFactory

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

public final class ServiceFactory extends Object
A factory for creating `DmgService`.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String[]`
  `DMG_XSD`
  Required XSD (!order is important)

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static GenericRequest`
  `getConsultationService(SAMLToken token)`
  Get the consultation service
  `static GenericRequest`
  `getNotificationService(SAMLToken token)`
  Get the Notification service

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

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

- ## Field Details

  - ### DMG_XSD

    public static final String[] DMG_XSD
    Required XSD (!order is important)

- ## Method Details

  - ### getConsultationService

    public static GenericRequest getConsultationService(SAMLToken token) throws TechnicalConnectorException
    Get the consultation service
    Parameters:
      `token` - the SAML token
    Returns:
      GlobalMedicalFileConsultationPortType the service port type
    Throws:
      `TechnicalConnectorException`

  - ### getNotificationService

    public static GenericRequest getNotificationService(SAMLToken token) throws TechnicalConnectorException
    Get the Notification service
    Parameters:
      `token` - the SAML token
    Returns:
      GlobalMedicalFileNotificationPortType the service port type
    Throws:
      `TechnicalConnectorException`