com.atlassian.jira.web.bean
Class I18nBean.AccessorFactory
java.lang.Object
com.atlassian.jira.web.bean.I18nBean.AccessorFactory
- All Implemented Interfaces:
- I18nHelper.BeanFactory
- Enclosing class:
- I18nBean
public static class I18nBean.AccessorFactory
- extends Object
- implements I18nHelper.BeanFactory
Small delegate around the CachingI18nHelperFactory that is registered in
pico as the actual I18nHelper.BeanFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
I18nBean.AccessorFactory
public I18nBean.AccessorFactory(I18nBean.CachingFactory delegate)
getInstance
public I18nHelper getInstance(Locale locale)
- Description copied from interface:
I18nHelper.BeanFactory
- Returns an
I18nHelper
instance associated with the provided Locale
- Specified by:
getInstance
in interface I18nHelper.BeanFactory
- Parameters:
locale
- the locale in play
- Returns:
- an
I18nHelper
instance associated with the provided Locale
getInstance
public I18nHelper getInstance(com.atlassian.crowd.embedded.api.User user)
- Description copied from interface:
I18nHelper.BeanFactory
- Returns an
I18nHelper
instance associated with the provided User
's locale preference
- Specified by:
getInstance
in interface I18nHelper.BeanFactory
- Parameters:
user
- the user in play
- Returns:
- an
I18nHelper
instance associated with the provided User
's locale preference
Copyright © 2002-2012 Atlassian. All Rights Reserved.