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 |
---|---|
@NonNull I18NBean |
getI18NBean() |
@NonNull I18NBean |
getI18NBean(@NonNull Locale locale) |
@NonNull String |
getStateHash() |
void |
setI18NBeanFactory(I18NBeanFactory i18NBeanFactory) |
void |
setLocaleManager(LocaleManager localeManager) |
public @NonNull I18NBean getI18NBean(@NonNull Locale locale)
getI18NBean
in interface I18NBeanFactory
locale
- locale for i18npublic @NonNull I18NBean getI18NBean()
getI18NBean
in interface I18NBeanFactory
public @NonNull String getStateHash()
getStateHash
in interface I18NBeanFactory
public void setI18NBeanFactory(I18NBeanFactory i18NBeanFactory)
public void setLocaleManager(LocaleManager localeManager)
Copyright © 2003–2020 Atlassian. All rights reserved.