public class ExoResourceBundleFactory extends Object implements org.gatein.common.i18n.ResourceBundleFactory
Integrates the portal resource bundle at the application level making thus reusable the same resource bundles by any portlet application.
This class integrates with the portlet container and is created at deployment time.
The loading responsiblity is to focus only on the resource bundle located via the explicit bundle defined in the portlet.xml decriptor, the portlet containe takes care of adding later the inline bundle entries declared in the portlet.xml deployment descriptor.
| Constructor and Description |
|---|
ExoResourceBundleFactory(ClassLoader classLoader,
String baseName) |
public ExoResourceBundleFactory(ClassLoader classLoader, String baseName)
public ResourceBundle getBundle(Locale locale) throws IllegalArgumentException
getBundle in interface org.gatein.common.i18n.ResourceBundleFactoryIllegalArgumentExceptionCopyright © 2016 JBoss by Red Hat. All Rights Reserved.