Interface ProviderStrategy

  • All Known Implementing Classes:
    CachedProviderStrategy, SourcingProviderStrategy

    public interface ProviderStrategy
    A ProviderStrategy chooses which Provider should be used. Depending on the implementation, providers can be sourced and prioritized according to global configurations and/or META-INF/services files, as per specified in Java's ServiceLoader
    Author:
    Juliano Mohr
    • Method Detail

      • choose

        Provider choose()
        Determines which provider to use.
        Returns:
        An instance of Provider