Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## be.ehealth.businessconnector.ehbox.v3.service
Class ServiceFactory

    java.lang.Object
      be.ehealth.businessconnector.ehbox.v3.service.ServiceFactory

    public final class ServiceFactory

extends Object

A factory for creating `PublicationService` and `ConsultationService`

Field Summary
`static String` | `PROP_ENDPOINT_CONSULTATION_V3` property of the endpoint of ehbox consultation v3.
`static String` | `PROP_ENDPOINT_PUBLICATION_V3` property of the endpoint of ehbox publication v3.
`static String` | `PROP_VALIDATION_INCOMING_EHBOX_V3` property of the validation xsd of intrahub.

Method Summary
`static GenericRequest` | `getConsultationService(SAMLToken token)` Gets the consultation service.
`static GenericRequest` | `getPublicationService(SAMLToken token)` Gets the publication service.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### PROP_ENDPOINT_CONSULTATION_V3

    public static final String PROP_ENDPOINT_CONSULTATION_V3

  property of the endpoint of ehbox consultation v3.

  See Also:
    Constant Field Values

### PROP_ENDPOINT_PUBLICATION_V3

    public static final String PROP_ENDPOINT_PUBLICATION_V3

  property of the endpoint of ehbox publication v3.

  See Also:
    Constant Field Values

### PROP_VALIDATION_INCOMING_EHBOX_V3

    public static final String PROP_VALIDATION_INCOMING_EHBOX_V3

  property of the validation xsd of intrahub.

  See Also:
    Constant Field Values

Method Detail

### getConsultationService

    public static GenericRequest getConsultationService(SAMLToken token)
                                                 throws MalformedURLException,
                                                        TechnicalConnectorException,
                                                        EhboxBusinessConnectorException

  Gets the consultation service.

  Parameters:
    `token` - the token
  Returns:
    the consultation service
  Throws:
    `MalformedURLException` - the malformed url exception
    `TechnicalConnectorException` - the technical connector exception
    `EhboxBusinessConnectorException`

### getPublicationService

    public static GenericRequest getPublicationService(SAMLToken token)
                                                throws MalformedURLException,
                                                       TechnicalConnectorException,
                                                       EhboxBusinessConnectorException

  Gets the publication service.

  Parameters:
    `token` - the token
  Returns:
    the publication service
  Throws:
    `MalformedURLException` - the malformed url exception
    `TechnicalConnectorException` - the technical connector exception
    `EhboxBusinessConnectorException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Connector Package PERSMIDWIFE 3.11.1 API
Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.