Package com.atlassian.confluence.pages
Class DateFormattersContextProvider
- java.lang.Object
-
- com.atlassian.confluence.pages.DateFormattersContextProvider
-
- All Implemented Interfaces:
com.atlassian.plugin.web.ContextProvider
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 Summary
Constructors Constructor Description DateFormattersContextProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
init
public void init(Map<String,String> params) throws com.atlassian.plugin.PluginParseException
- Specified by:
init
in interfacecom.atlassian.plugin.web.ContextProvider
- Throws:
com.atlassian.plugin.PluginParseException
-
getContextMap
public Map<String,Object> getContextMap(Map<String,Object> context)
- Specified by:
getContextMap
in interfacecom.atlassian.plugin.web.ContextProvider
-
setUserAccessor
public void setUserAccessor(UserAccessor userAccessor)
-
setFormatSettingsManager
public void setFormatSettingsManager(FormatSettingsManager formatSettingsManager)
-
setLocaleManager
public void setLocaleManager(LocaleManager localeManager)
-
setI18NBeanFactory
public void setI18NBeanFactory(I18NBeanFactory i18NBeanFactory)
-
-