Class SimpleResourceBundleService
java.lang.Object
org.exoplatform.services.resources.impl.BaseResourceBundleService
org.exoplatform.services.resources.impl.SimpleResourceBundleService
- All Implemented Interfaces:
org.exoplatform.services.resources.ResourceBundleService,org.picocontainer.Startable
Created by The eXo Platform SARL Author : Tung Pham thanhtungty@gmail.com Dec 1, 2007
-
Field Summary
Fields inherited from class org.exoplatform.services.resources.impl.BaseResourceBundleService
cache_, cl, classpathResources_, localeList_, localeService_, log_, portalContainer_, portalResourceBundleNames_ -
Constructor Summary
ConstructorsConstructorDescriptionSimpleResourceBundleService(org.exoplatform.container.PortalContainer portalContainer, org.exoplatform.container.xml.InitParams params, org.exoplatform.services.cache.CacheService cService, org.exoplatform.services.resources.LocaleConfigService localeService) -
Method Summary
Modifier and TypeMethodDescriptionorg.exoplatform.commons.utils.PageList<org.exoplatform.services.resources.ResourceBundleData> findResourceDescriptions(org.exoplatform.services.resources.Query q) org.exoplatform.services.resources.ResourceBundleDataprotected ResourceBundlegetResourceBundleFromDb(String id, ResourceBundle parent, Locale locale) org.exoplatform.services.resources.ResourceBundleDatavoidsaveResourceBundle(org.exoplatform.services.resources.ResourceBundleData resourceData) Methods inherited from class org.exoplatform.services.resources.impl.BaseResourceBundleService
addResourceBundle, createResourceBundleDataInstance, getFutureCache, getInitResources_, getResourceBundle, getResourceBundle, getResourceBundle, getResourceBundle, getResourceBundleContent, getResourceBundleContent, getSharedResourceBundleNames, initParams, initResources, invalidate, isClasspathResource, loadResourcesForLocale, start, stop
-
Constructor Details
-
SimpleResourceBundleService
public SimpleResourceBundleService(org.exoplatform.container.PortalContainer portalContainer, org.exoplatform.container.xml.InitParams params, org.exoplatform.services.cache.CacheService cService, org.exoplatform.services.resources.LocaleConfigService localeService) throws Exception - Throws:
Exception
-
-
Method Details
-
getResourceBundleData
-
removeResourceBundleData
-
saveResourceBundle
public void saveResourceBundle(org.exoplatform.services.resources.ResourceBundleData resourceData) -
findResourceDescriptions
public org.exoplatform.commons.utils.PageList<org.exoplatform.services.resources.ResourceBundleData> findResourceDescriptions(org.exoplatform.services.resources.Query q) -
getResourceBundleFromDb
protected ResourceBundle getResourceBundleFromDb(String id, ResourceBundle parent, Locale locale) throws Exception - Specified by:
getResourceBundleFromDbin classBaseResourceBundleService- Throws:
Exception
-