Merged V2.2 to HEAD 8290: Merged V2.1-A to V2.2 8229: AWC-1149: Resource bundles in AMP files

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8323 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2008-02-19 12:52:48 +00:00
parent f45bccdbd8
commit 12656d59b8
5 changed files with 286 additions and 145 deletions

View File

@@ -0,0 +1,28 @@
/**
*
*/
package org.alfresco.web.app;
import java.util.List;
/**
* Resource bundle bootstrap bean
*
* @author Roy Wetherall
*/
public class ResourceBundleBootstrap
{
/**
* Set the resource bundles to be registered. This should be a list of resource
* bundle base names whose content will be made available to the web client.
*
* @param resourceBundles the resource bundles
*/
public void setResourceBundles(List<String> resourceBundles)
{
for (String resourceBundle : resourceBundles)
{
ResourceBundleWrapper.addResourceBundle(resourceBundle);
}
}
}