Provider implementations mustbepackagedusingtheJavaExtensionMechanismasinstalledextensions.RefertoServiceLoaderfortheextensionpackaging.AnyinstalledResourceBundleControlProviderimplementationsare loaded fromtheapplication'sclasspath using ServiceLoader at thefirstinvocationof the ResourceBundle.getBundlefactorymethodthattakesnoResourceBundle classloadingtime.Controlinstance.
Provider implementations must be packaged using the Java Extension Mechanism as installed extensions. Refer to ServiceLoader for the extension packaging. Any installed ResourceBundleControlProvider implementations are loaded using ServiceLoader at the ResourceBundle class loading time.
Provider implementations are loaded from the application's class path using ServiceLoader at the first invocation of the ResourceBundle.getBundle factory method that takes no ResourceBundle.Control instance.
All ResourceBundleControlProviders are ignored in named modules.
Returns a ResourceBundle.Control instance that is used to handle resource bundle loading for the given baseName . This method must return null if the given baseName isn't handled by this provider.
Parameters:
baseName - the base name of the resource bundle
Returns:
a ResourceBundle.Control instance, or null if the given baseName is not applicable to this provider.