public class UserI18NBeanFactory extends Object implements I18NBeanFactory
Also acts as a BeanPostProcessor
for Spring bean factories, processing
beans which implement UserLocaleAware
Constructor and Description |
---|
UserI18NBeanFactory() |
Modifier and Type | Method and Description |
---|---|
I18NBean |
getI18NBean() |
I18NBean |
getI18NBean(Locale locale) |
void |
setI18NBeanFactory(I18NBeanFactory i18NBeanFactory) |
void |
setLocaleManager(LocaleManager localeManager) |
@Nonnull public I18NBean getI18NBean(@Nonnull Locale locale)
getI18NBean
in interface I18NBeanFactory
locale
- locale for i18n@Nonnull public I18NBean getI18NBean()
getI18NBean
in interface I18NBeanFactory
public void setI18NBeanFactory(I18NBeanFactory i18NBeanFactory)
public void setLocaleManager(LocaleManager localeManager)
Copyright © 2003–2018 Atlassian. All rights reserved.