public class CachingI18NBeanFactory extends Object implements I18NBeanFactory, com.atlassian.plugin.module.StaticModuleProcessor
| Constructor and Description |
|---|
CachingI18NBeanFactory(I18NBeanFactory defaultI18NBeanFactory,
com.atlassian.event.api.EventPublisher eventPublisher,
com.atlassian.plugin.module.StaticModuleProcessorRegistrar registrar) |
| Modifier and Type | Method and Description |
|---|---|
I18NBean |
getI18NBean() |
I18NBean |
getI18NBean(Locale locale) |
void |
initialiseCacheAndRegisterEventListener() |
void |
process(com.atlassian.plugin.module.StaticModuleAccessor staticModuleAccessor) |
void |
unregisterEventListener() |
public CachingI18NBeanFactory(I18NBeanFactory defaultI18NBeanFactory, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.plugin.module.StaticModuleProcessorRegistrar registrar)
@PostConstruct public void initialiseCacheAndRegisterEventListener()
@PreDestroy public void unregisterEventListener()
@Nonnull public I18NBean getI18NBean(@Nonnull Locale locale)
getI18NBean in interface I18NBeanFactorylocale - locale for i18n@Nonnull public I18NBean getI18NBean()
getI18NBean in interface I18NBeanFactorypublic void process(com.atlassian.plugin.module.StaticModuleAccessor staticModuleAccessor)
process in interface com.atlassian.plugin.module.StaticModuleProcessorCopyright © 2003–2017 Atlassian. All rights reserved.