public interface Localization
Localizationacross multiple JAR archives. Even the use of VFS listing does not work since you need a special class loader per JAR file. Getting the available localizations for example would mean to permutate all combinations of locales which cannot be done in practice. The way out is the service provider API allowing any localization JAR file to declare the contained implementations of the
Localizationinterface (providing the locale). The service providers are well-known before any classes are loaded from the JARs. A listing functionality simply has to read the providers for the service (here localization).
Copyright © 2005-2023 Leisenfels GmbH. All rights reserved.