Interface TlsManagerProvider

All Superinterfaces:
All Known Implementing Classes:

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
      configBean - the config bean instance
      creator - the creator to apply if not already in cache, which takes the config bean instance
      the tls manager instance from cache, defaulting to creation from the creator if not in cache