Class AeternityServiceFactory
java.lang.Object
com.kryptokrauts.aeternity.sdk.service.AbstractServiceFactory<AeternityService,AeternityServiceConfiguration>
com.kryptokrauts.aeternity.sdk.service.aeternity.AeternityServiceFactory
public class AeternityServiceFactory extends AbstractServiceFactory<AeternityService,AeternityServiceConfiguration>
-
Constructor Summary
Constructors Constructor Description AeternityServiceFactory()
-
Method Summary
Modifier and Type Method Description AeternityService
getService()
protected AeternityService
getServiceWithConfig(AeternityServiceConfiguration 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
-
AeternityServiceFactory
public AeternityServiceFactory()
-
-
Method Details
-
getService
- Specified by:
getService
in classAbstractServiceFactory<AeternityService,AeternityServiceConfiguration>
- 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<AeternityService,AeternityServiceConfiguration>
- Parameters:
config
- the configuration pojo- Returns:
- the concrete factory implementation
-