mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user