org.exoplatform.services.portletcontainer.plugins.pc.portletAPIImp.bundle
Class ResourceBundleManager

java.lang.Object
  extended by org.exoplatform.services.portletcontainer.plugins.pc.portletAPIImp.bundle.ResourceBundleManager

public class ResourceBundleManager
extends java.lang.Object

Author:
Benjamin Mestrallet benjamin.mestrallet@exoplatform.com

Field Summary
protected  org.exoplatform.container.ExoContainer cont
          Exo container.
static java.lang.String KEYWORDS
          Keywords resource key.
static java.lang.String PORTLET_SHORT_TITLE
          Short title resource key.
static java.lang.String PORTLET_TITLE
          Title resource key.
 
Constructor Summary
ResourceBundleManager(PortletContainerConf conf, org.exoplatform.services.cache.CacheService cacheService, org.exoplatform.container.ExoContainerContext context)
           
 
Method Summary
 java.util.ResourceBundle lookupBundle(Portlet portlet, java.util.Locale locale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PORTLET_TITLE

public static final java.lang.String PORTLET_TITLE
Title resource key.

See Also:
Constant Field Values

PORTLET_SHORT_TITLE

public static final java.lang.String PORTLET_SHORT_TITLE
Short title resource key.

See Also:
Constant Field Values

KEYWORDS

public static final java.lang.String KEYWORDS
Keywords resource key.

See Also:
Constant Field Values

cont

protected org.exoplatform.container.ExoContainer cont
Exo container.

Constructor Detail

ResourceBundleManager

public ResourceBundleManager(PortletContainerConf conf,
                             org.exoplatform.services.cache.CacheService cacheService,
                             org.exoplatform.container.ExoContainerContext context)
                      throws java.lang.Exception
Parameters:
conf - PC conf
cacheService - cache service
context - exo container context
Throws:
java.lang.Exception - exception
Method Detail

lookupBundle

public final java.util.ResourceBundle lookupBundle(Portlet portlet,
                                                   java.util.Locale locale)
Parameters:
portlet - portlet
locale - locale
Returns:
resource bundle


Copyright © 2010 eXo Platform SAS. All Rights Reserved.