com.atlassian.confluence.util.i18n
Class CachingI18NBeanFactory
java.lang.Object
com.atlassian.confluence.util.i18n.CachingI18NBeanFactory
- All Implemented Interfaces:
- I18NBeanFactory, com.atlassian.event.EventListener, org.springframework.beans.factory.InitializingBean
public class CachingI18NBeanFactory
- extends java.lang.Object
- implements I18NBeanFactory, com.atlassian.event.EventListener, org.springframework.beans.factory.InitializingBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachingI18NBeanFactory
public CachingI18NBeanFactory()
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
getI18NBean
public I18NBean getI18NBean(java.util.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)
handleEvent
public void handleEvent(com.atlassian.event.Event event)
- Specified by:
handleEvent
in interface com.atlassian.event.EventListener
getHandledEventClasses
public java.lang.Class[] getHandledEventClasses()
- Specified by:
getHandledEventClasses
in interface com.atlassian.event.EventListener
Copyright © 2003-2014 Atlassian. All Rights Reserved.