|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.web.bean.I18nBean.AccessorFactory
public static class I18nBean.AccessorFactory
Small delegate around the CachingI18nHelperFactory that is registered in pico as the actual I18nHelper.BeanFactory
| Constructor Summary | |
|---|---|
I18nBean.AccessorFactory(I18nBean.CachingFactory delegate)
|
|
| Method Summary | |
|---|---|
I18nHelper |
getInstance(ApplicationUser user)
Returns an I18nHelper instance associated with the provided User's locale preference. |
I18nHelper |
getInstance(Locale locale)
Returns an I18nHelper instance associated with the provided Locale. |
I18nHelper |
getInstance(com.atlassian.crowd.embedded.api.User user)
Returns an I18nHelper instance associated with the provided User's locale preference. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public I18nBean.AccessorFactory(I18nBean.CachingFactory delegate)
| Method Detail |
|---|
public I18nHelper getInstance(Locale locale)
I18nHelper.BeanFactoryI18nHelper instance associated with the provided Locale. Note that since JIRA 6.0
you can have an I18nHelper injected directly into your class, and it will be specific to the
currently logged in user.
getInstance in interface I18nHelper.BeanFactorylocale - the locale in play
I18nHelper instance associated with the provided LocaleI18nHelperpublic I18nHelper getInstance(com.atlassian.crowd.embedded.api.User user)
I18nHelper.BeanFactoryI18nHelper instance associated with the provided User's locale preference. Note
that since JIRA 6.0 you can have an I18nHelper injected directly into your class, and it will be
specific to the currently logged in user.
getInstance in interface I18nHelper.BeanFactoryuser - the user in play
I18nHelper instance associated with the provided User's locale preferenceI18nHelperpublic I18nHelper getInstance(ApplicationUser user)
I18nHelper.BeanFactoryI18nHelper instance associated with the provided User's locale preference. Note
that since JIRA 6.0 you can have an I18nHelper injected directly into your class, and it will be
specific to the currently logged in user.
getInstance in interface I18nHelper.BeanFactoryuser - the user in play
I18nHelper instance associated with the provided User's locale preferenceI18nHelper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||