Class StorageRestServiceResolver
java.lang.Object
one.microstream.storage.restservice.StorageRestServiceResolver
public final class StorageRestServiceResolver extends Object
Service loader for
StorageRestServices-
Constructor Summary
Constructors Constructor Description StorageRestServiceResolver() -
Method Summary
Modifier and Type Method Description static StorageRestServiceresolve(StorageRestAdapter storageRestAdapter)Get the first found implementation of the StorageRestService interfacestatic StorageRestServiceresolve(StorageManager storage)Get the first found implementation of the StorageRestService interfacestatic StorageRestServiceProviderresolveProvider()
-
Constructor Details
-
StorageRestServiceResolver
public StorageRestServiceResolver()
-
-
Method Details
-
resolve
Get the first found implementation of the StorageRestService interface- Parameters:
storage- storage to initialize the service with- Returns:
- StorageRestService instance
-
resolve
Get the first found implementation of the StorageRestService interface- Parameters:
storageRestAdapter- rest adapter to initialize the service with- Returns:
- StorageRestService instance
-
resolveProvider
-