be.ehealth.technicalconnector.session
Class ImplementationClassFactory

java.lang.Object
  extended by be.ehealth.technicalconnector.session.ImplementationClassFactory
Direct Known Subclasses:
GenericServiceImplementationFactory

public abstract class ImplementationClassFactory
extends Object

creates implementation classes for services. subclasses must choose the exact constructor of the service to use, and have some input parameters available to use.


Constructor Summary
ImplementationClassFactory()
           
 
Method Summary
<T> T
createImplementationClass(Class<T> clazz, SessionValidator sessionValidator, EhealthReplyValidator replyValidator, Crypto hokCrypto, Crypto encryptionCrypto, String... additionalParameters)
          Deprecated. use the other createImplementationClass method without crypto
<T> T
createImplementationClass(Class<T> clazz, SessionValidator sessionValidator, EhealthReplyValidator replyValidator, String... additionalParameters)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImplementationClassFactory

public ImplementationClassFactory()
Method Detail

createImplementationClass

@Deprecated
public <T> T createImplementationClass(Class<T> clazz,
                                                  SessionValidator sessionValidator,
                                                  EhealthReplyValidator replyValidator,
                                                  Crypto hokCrypto,
                                                  Crypto encryptionCrypto,
                                                  String... additionalParameters)
                            throws TechnicalConnectorException,
                                   ConnectorException
Deprecated. use the other createImplementationClass method without crypto

creates the implementation for a range of possible classes.

Type Parameters:
T -
Parameters:
clazz - the class
sessionValidator - the session validator
replyValidator - the reply validator
hokCrypto - the hok crypto
encryptionCrypto - the encryption crypto
Returns:
the implementation class
Throws:
TechnicalConnectorException
ConnectorException

createImplementationClass

public <T> T createImplementationClass(Class<T> clazz,
                                       SessionValidator sessionValidator,
                                       EhealthReplyValidator replyValidator,
                                       String... additionalParameters)
                            throws TechnicalConnectorException,
                                   ConnectorException
Throws:
TechnicalConnectorException
ConnectorException



Connector Packaging TECHNICAL 3.14.2 API
Copyright © {inceptionYear}-2018 eHealth. All Rights Reserved.