Class StoreProviders

java.lang.Object
me.ahoo.cosid.internal.StoreProviders

public final class StoreProviders extends Object
Finds the StoreProvider of a store type (06-stores.md ยง1): the explicit providers (Spring beans or RuntimeOptions.storeProviders) first, then those ServiceLoader finds. Both go through the same creation path.
  • Constructor Details

    • StoreProviders

      public StoreProviders(List<StoreProvider> explicit)
      The providers.
      Parameters:
      explicit - providers that win over ServiceLoader for their type; the first one wins within them
  • Method Details