Package be.ehealth.businessconnector.chapterIV.service

# Class ServiceFactory

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

public final class ServiceFactory extends Object
A factory for creating service objects. Objects created : `ChapterIVService`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `CH4_PROT`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static GenericRequest`
  `getAdmissionService(SAMLToken token)`
  Gets the admission service.
  `static GenericRequest`
  `getConsultationService(SAMLToken token)`

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

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

- ## Field Details

  - ### CH4_PROT

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

- ## Method Details

  - ### getConsultationService

    public static GenericRequest getConsultationService(SAMLToken token) throws MalformedURLException, TechnicalConnectorException, ChapterIVBusinessConnectorException
    Parameters:
      `token` - the token
    Returns:
      the consultation service
    Throws:
      `MalformedURLException` - the malformed url exception
      `TechnicalConnectorException` - the technical connector exception
      `ChapterIVBusinessConnectorException`

  - ### getAdmissionService

    public static GenericRequest getAdmissionService(SAMLToken token) throws MalformedURLException, TechnicalConnectorException, ChapterIVBusinessConnectorException
    Gets the admission service.
    Parameters:
      `token` - the token
    Returns:
      the admission service
    Throws:
      `MalformedURLException` - the malformed url exception
      `TechnicalConnectorException` - the technical connector exception
      `ChapterIVBusinessConnectorException`