com.atlassian.confluence.pages
Class DateFormattersContextProvider

java.lang.Object
  extended by com.atlassian.confluence.pages.DateFormattersContextProvider
All Implemented Interfaces:
com.atlassian.plugin.web.ContextProvider

public class DateFormattersContextProvider
extends java.lang.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
DateFormattersContextProvider()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> getContextMap(java.util.Map<java.lang.String,java.lang.Object> context)
           
 void init(java.util.Map<java.lang.String,java.lang.String> params)
           
 void setFormatSettingsManager(FormatSettingsManager formatSettingsManager)
           
 void setI18NBeanFactory(I18NBeanFactory i18NBeanFactory)
           
 void setLocaleManager(LocaleManager localeManager)
           
 void setUserAccessor(UserAccessor userAccessor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateFormattersContextProvider

public DateFormattersContextProvider()
Method Detail

init

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

getContextMap

public java.util.Map<java.lang.String,java.lang.Object> getContextMap(java.util.Map<java.lang.String,java.lang.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)


Copyright © 2003-2014 Atlassian. All Rights Reserved.