public class DateFormattersContextProvider extends Object implements com.atlassian.plugin.web.ContextProvider
Provides date formatting beans.
Uses setter based injection because it is used by a plugin version 1 plugin which does not support constructor injection. (see comment-action-sections.xml).
Constructor and Description |
---|
DateFormattersContextProvider() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getContextMap(Map<String,Object> context) |
void |
init(Map<String,String> params) |
void |
setFormatSettingsManager(FormatSettingsManager formatSettingsManager) |
void |
setI18NBeanFactory(I18NBeanFactory i18NBeanFactory) |
void |
setLocaleManager(LocaleManager localeManager) |
void |
setUserAccessor(UserAccessor userAccessor) |
public void init(Map<String,String> params) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.web.ContextProvider
com.atlassian.plugin.PluginParseException
public Map<String,Object> getContextMap(Map<String,Object> context)
getContextMap
in interface com.atlassian.plugin.web.ContextProvider
public void setUserAccessor(UserAccessor userAccessor)
public void setFormatSettingsManager(FormatSettingsManager formatSettingsManager)
public void setLocaleManager(LocaleManager localeManager)
public void setI18NBeanFactory(I18NBeanFactory i18NBeanFactory)
Copyright © 2003–2017 Atlassian. All rights reserved.