public class CachingI18NBeanFactory extends Object implements I18NBeanFactory, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Constructor and Description |
---|
CachingI18NBeanFactory(com.atlassian.cache.CacheFactory cacheFactory,
I18NBeanFactory defaultI18NBeanFactory,
com.atlassian.event.api.EventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
I18NBean |
getI18NBean() |
I18NBean |
getI18NBean(Locale locale) |
void |
onGlobalSettingsChangedEvent(GlobalSettingsChangedEvent event) |
void |
onPluginEvent(PluginEvent event) |
void |
onPluginFrameworkStartedEvent(PluginFrameworkStartedEvent event) |
void |
onRemoteEvent(ClusterEventWrapper wrapper) |
public CachingI18NBeanFactory(com.atlassian.cache.CacheFactory cacheFactory, I18NBeanFactory defaultI18NBeanFactory, com.atlassian.event.api.EventPublisher eventPublisher)
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
public void destroy()
destroy
in interface org.springframework.beans.factory.DisposableBean
public I18NBean getI18NBean(Locale locale)
getI18NBean
in interface I18NBeanFactory
locale
- locale for i18npublic I18NBean getI18NBean()
getI18NBean
in interface I18NBeanFactory
@EventListener public void onGlobalSettingsChangedEvent(GlobalSettingsChangedEvent event)
@EventListener public void onPluginEvent(PluginEvent event)
@EventListener public void onPluginFrameworkStartedEvent(PluginFrameworkStartedEvent event)
@EventListener public void onRemoteEvent(ClusterEventWrapper wrapper)