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 Details

    • DateFormattersContextProvider

      public DateFormattersContextProvider()
  • Method Details

    • init

      public void init(Map<String,String> params) throws com.atlassian.plugin.PluginParseException
      Specified by:
      init in interface com.atlassian.plugin.web.ContextProvider
      Throws:
      com.atlassian.plugin.PluginParseException
    • getContextMap

      public Map<String,Object> getContextMap(Map<String,Object> context)
      Specified by:
      getContextMap in interface com.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)