Class KeyPairServiceFactory
java.lang.Object
com.kryptokrauts.aeternity.sdk.service.AbstractServiceFactory<KeyPairService,KeyPairServiceConfiguration>
com.kryptokrauts.aeternity.sdk.service.keypair.KeyPairServiceFactory
public class KeyPairServiceFactory extends AbstractServiceFactory<KeyPairService,KeyPairServiceConfiguration>
-
Constructor Summary
Constructors Constructor Description KeyPairServiceFactory()
-
Method Summary
Modifier and Type Method Description KeyPairService
getService()
protected KeyPairService
getServiceWithConfig(KeyPairServiceConfiguration config)
this method must be provided by the concrete factory to create a service instance with the concrete service configurationMethods inherited from class com.kryptokrauts.aeternity.sdk.service.AbstractServiceFactory
getService
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
KeyPairServiceFactory
public KeyPairServiceFactory()
-
-
Method Details
-
getService
- Specified by:
getService
in classAbstractServiceFactory<KeyPairService,KeyPairServiceConfiguration>
- Returns:
- a singleton instance of the service class with default configuration
-
getServiceWithConfig
Description copied from class:AbstractServiceFactory
this method must be provided by the concrete factory to create a service instance with the concrete service configuration- Specified by:
getServiceWithConfig
in classAbstractServiceFactory<KeyPairService,KeyPairServiceConfiguration>
- Parameters:
config
- the configuration pojo- Returns:
- the concrete factory implementation
-