Interface TlsManagerProvider

All Superinterfaces:
ConfiguredProvider<TlsManager>
All Known Implementing Classes:
DefaultOciCertificatesTlsManagerProvider

public interface TlsManagerProvider extends ConfiguredProvider<TlsManager>
ServiceLoader service provider for TlsManager.
  • Method Details

    • getOrCreate

      static <T> TlsManager getOrCreate(T configBean, Function<T,TlsManager> creator)
      Provides the ability to have a unique TlsManager per unique Config instance provided.
      Type Parameters:
      T - the type of the config bean
      Parameters:
      configBean - the config bean instance
      creator - the creator to apply if not already in cache, which takes the config bean instance
      Returns:
      the tls manager instance from cache, defaulting to creation from the creator if not in cache