Package dev.orne.i18n.context
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 Summary
Modifier and TypeMethodDescriptionstatic @NotNull I18nContextProvider
get()
Returns the I18N context provider for current thread context class loader.static @NotNull I18nContextProvider
get
(@NotNull ClassLoader cl) Returns the I18N context provider for the specified class loader.
-
Method Details
-
get
Returns the I18N context provider for current thread context class loader.- Returns:
- The I18N context provider.
-
get
Returns the I18N context provider for the specified class loader.- Parameters:
cl
- The class loader.- Returns:
- The I18N context provider.
-