Package com.github.fge.msgsimple.serviceloader

Deprecated.
use msgsimple.load instead, which does the same but does not require a dedicated file.
ServiceLoader support - DEPRECATED

See: Description

Package com.github.fge.msgsimple.serviceloader Description

ServiceLoader support - DEPRECATED

In order to use the service loader support, you will need to implement MessageBundleProvider, then create a file named META-INF/services/com.github.fge.msgsimple.serviceloader.MessageBundleProvider in your classpath, with the fully qualified class names. For instance:

     com.mycompany.bundle.MyFirstBundle
     com.mycompany.bundle.MySecondBundle
 

At run time, you will then be able to retrieve your bundles using:

     final MessageBundle bundle
         = MessageBundleFactory.getBundle(MyFirstBundle.class);