* This should be the bundle base path * eg, alfresco/messages/errors * or, workspace://SpaceStore/app:company_home/app:dictionary/app:labels/cm:errors *
* Once registered the messages will be available via getMessage, assuming the * bundle resource exists at the given path location. * * @param bundleBasePath the bundle base path */ public void registerResourceBundle(String bundleBasePath); /** * Unregister a resource bundle *
* This should be the bundle base path * eg alfresco/messages/errors * or workspace://SpaceStore/app:company_home/app:dictionary/app:labels/cm:errors *
     * Once unregistered the messages will no longer be available via getMessage
     *
     * @param resBundlePath    the bundle base path
     */
    public void unregisterResourceBundle(String resBundlePath);
    
    /**
     * Get message resource bundle from the repository
     * 
     * note: also used by Web Client (ResourceBundleWrapper)
     * 
     * @param storeRef  store ref
     * @param path      repository path (XPath)
     * @param locale    locale
     * @return          input stream
     */
    public ResourceBundle getRepoResourceBundle(StoreRef storeRef, String path, Locale locale) throws IOException;
    
    /**
     * Get set of registered message resource bundles
     * 
     * @return set of registered bundles
     */
    public Set