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

java.lang.Object
  extended by 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



Connector Business ORGPHARMACY 3.13.1 API
Copyright © {inceptionYear}-2017 eHealth. All Rights Reserved.