Class I18nContextProvider.Registry

java.lang.Object
dev.orne.i18n.context.I18nContextProvider.Registry
Enclosing interface:
I18nContextProvider

@API(status=EXPERIMENTAL, since="0.1") public static final class I18nContextProvider.Registry extends Object
The I18N context provider registry.
Since:
0.1
Version:
1.0, 2021-01
Author:
(w) Iker Hernaez
  • Method Details

    • get

      @NotNull public static @NotNull I18nContextProvider get()
      Returns the I18N context provider for current thread context class loader.
      Returns:
      The I18N context provider.
    • get

      @NotNull public static @NotNull I18nContextProvider get(@NotNull @NotNull ClassLoader cl)
      Returns the I18N context provider for the specified class loader.
      Parameters:
      cl - The class loader.
      Returns:
      The I18N context provider.