public class ModuleBundleSentinel extends ResourceBundle
This class has been created for use the AbstractWebScript when retrieving ResourceBundle
instances provided by extension modules. Because it is not mandatory for a module to provide a bundle it
is quite possible that a search will return no value. In order to prevent repeatedly searching unsuccessfully
for the same file this singleton object should be cached instead.
in caches to indicate
ResourceBundle.Controlparent| Modifier and Type | Method and Description |
|---|---|
static ModuleBundleSentinel |
getInstance()
Retrieves the singleton instance and creates it if it does not exist.
|
Enumeration<String> |
getKeys()
Implemented to fulfil the abstract superclass contract.
|
protected Object |
handleGetObject(String key)
Implemented to fulfil the abstract superclass contract.
|
clearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, handleKeySet, keySet, setParentpublic static ModuleBundleSentinel getInstance()
Retrieves the singleton instance and creates it if it does not exist.
protected Object handleGetObject(String key)
Implemented to fulfil the abstract superclass contract.
handleGetObject in class ResourceBundlenullpublic Enumeration<String> getKeys()
Implemented to fulfil the abstract superclass contract.
getKeys in class ResourceBundlenullCopyright © 2005–2015 Alfresco Software. All rights reserved.