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.ehboxV2.service
Class ServiceFactory

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

    public final class ServiceFactory

extends Object

A factory for creating service objects. Creates `ConsultationService` and `PublicationService`

Field Summary
`static String` | `PROP_ENDPOINT_CONSULTATION_V2` property of the endpoint of ehbox consultation v2
`static String` | `PROP_ENDPOINT_PUBLICATION_V2` property of the endpoint of ehbox publication v2
`static String` | `PROP_VALIDATION_INCOMING_EHBOX_V2` property of the validation xsd of intrahub

Method Summary
`static EhBoxConsultationPortType` | `getConsultationService(SAMLToken token)` Gets the consultation service.
`static EhBoxPublicationPortType` | `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_V2

    public static final String PROP_ENDPOINT_CONSULTATION_V2

  property of the endpoint of ehbox consultation v2

  See Also:
    Constant Field Values

### PROP_ENDPOINT_PUBLICATION_V2

    public static final String PROP_ENDPOINT_PUBLICATION_V2

  property of the endpoint of ehbox publication v2

  See Also:
    Constant Field Values

### PROP_VALIDATION_INCOMING_EHBOX_V2

    public static final String PROP_VALIDATION_INCOMING_EHBOX_V2

  property of the validation xsd of intrahub

  See Also:
    Constant Field Values

Method Detail

### getConsultationService

    public static EhBoxConsultationPortType 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 EhBoxPublicationPortType 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 Packaging PERSPHYSICIAN 3.11.1 API
Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.