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