|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BundleFactory
Bundle Factory implementations are responsible for loading and providing particular types of resource bundles, implementors of Bundle interface.
Nested Class Summary | |
---|---|
static class |
BundleFactory.ConfigurationKeys
Constants for bundle factory configuration keys |
Field Summary | |
---|---|
static String |
ROLE
Bundle factory ROLE name |
Method Summary | |
---|---|
void |
release(Bundle bundle)
Releases a bundle back to the bundle factory when it's not needed anymore. |
Bundle |
select(String[] directories,
String bundleName,
Locale locale)
Select a bundle based on the catalogue base location, bundle name, and the locale. |
Bundle |
select(String bundleName,
Locale locale)
Select a bundle based on the bundle name and the locale from the default catalogue. |
Bundle |
select(String bundleName,
String locale)
Select a bundle based on the bundle name and the locale name from the default catalogue. |
Bundle |
select(String base,
String bundleName,
Locale locale)
Select a bundle based on the catalogue base location, bundle name, and the locale. |
Bundle |
select(String base,
String bundleName,
String locale)
Select a bundle based on the catalogue base location, bundle name, and the locale name. |
Field Detail |
---|
static final String ROLE
Method Detail |
---|
Bundle select(String base, String bundleName, String locale) throws ComponentException
base
- catalogue base location (URI)bundleName
- bundle namelocale
- locale name
ComponentException
- if a bundle is not foundBundle select(String base, String bundleName, Locale locale) throws ComponentException
base
- catalogue base location (URI)bundleName
- bundle namelocale
- locale
ComponentException
- if a bundle is not foundBundle select(String[] directories, String bundleName, Locale locale) throws ComponentException
directories
- catalogue base location (URI)bundleName
- bundle namelocale
- locale
ComponentException
- if a bundle is not foundBundle select(String bundleName, String locale) throws ComponentException
bundleName
- bundle namelocale
- locale name
ComponentException
- if a bundle is not foundBundle select(String bundleName, Locale locale) throws ComponentException
bundleName
- bundle namelocale
- locale
ComponentException
- if a bundle is not foundvoid release(Bundle bundle)
bundle
- the bundle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |