be.ehealth.technicalconnector.session
Class ImplementationClassFactory
java.lang.Object
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.
ImplementationClassFactory
public ImplementationClassFactory()
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 classsessionValidator
- the session validatorreplyValidator
- the reply validatorhokCrypto
- the hok cryptoencryptionCrypto
- 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.20.2 API
Copyright © {inceptionYear}-2020 eHealth. All Rights Reserved.