Class StorageRestServiceResolver
java.lang.Object
one.microstream.storage.restservice.StorageRestServiceResolver
public final class StorageRestServiceResolver extends Object
Service loader for
StorageRestService
s-
Constructor Summary
Constructors Constructor Description StorageRestServiceResolver()
-
Method Summary
Modifier and Type Method Description static StorageRestService
resolve(StorageRestAdapter storageRestAdapter)
Get the first found implementation of the StorageRestService interfacestatic StorageRestService
resolve(StorageManager storage)
Get the first found implementation of the StorageRestService interfacestatic StorageRestServiceProvider
resolveProvider()
-
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
-