com.atlassian.confluence.util.i18n
Class CachingI18NBeanFactory

java.lang.Object
  extended by com.atlassian.confluence.util.i18n.CachingI18NBeanFactory
All Implemented Interfaces:
I18NBeanFactory, EventListener

public class CachingI18NBeanFactory
extends Object
implements I18NBeanFactory, EventListener


Field Summary
static org.apache.log4j.Logger log
          Deprecated. 
 
Constructor Summary
CachingI18NBeanFactory()
           
 
Method Summary
 Class[] getHandledEventClasses()
           
 I18NBean getI18NBean()
           
 I18NBean getI18NBean(Locale locale)
           
 void handleEvent(Event event)
           
 void handlePluginSystemInitializedEvent(PluginFrameworkStartedEvent event)
           
 void setCacheFactory(com.atlassian.cache.CacheFactory cacheFactory)
           
 void setDefaultI18NBeanFactory(I18NBeanFactory defaultI18NBeanFactory)
           
 void setPluginEventManager(PluginEventManager pluginEventManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

@Deprecated
public static final org.apache.log4j.Logger log
Deprecated. 
Constructor Detail

CachingI18NBeanFactory

public CachingI18NBeanFactory()
Method Detail

getI18NBean

public I18NBean getI18NBean(Locale locale)
Specified by:
getI18NBean in interface I18NBeanFactory
Parameters:
locale - locale for i18n
Returns:
i18n bean for specified locale

getI18NBean

public I18NBean getI18NBean()
Specified by:
getI18NBean in interface I18NBeanFactory
Returns:
i18n bean for the system default locale

setCacheFactory

public void setCacheFactory(com.atlassian.cache.CacheFactory cacheFactory)

setDefaultI18NBeanFactory

public void setDefaultI18NBeanFactory(I18NBeanFactory defaultI18NBeanFactory)

setPluginEventManager

public void setPluginEventManager(PluginEventManager pluginEventManager)

handleEvent

public void handleEvent(Event event)
Specified by:
handleEvent in interface EventListener

handlePluginSystemInitializedEvent

public void handlePluginSystemInitializedEvent(PluginFrameworkStartedEvent event)

getHandledEventClasses

public Class[] getHandledEventClasses()
Specified by:
getHandledEventClasses in interface EventListener


Confluence is developed by Atlassian.