com.atlassian.jira.web.util
Class OutlookDateManagerImpl

java.lang.Object
  extended by com.atlassian.jira.web.util.OutlookDateManagerImpl
All Implemented Interfaces:
Startable, OutlookDateManager

public class OutlookDateManagerImpl
extends java.lang.Object
implements OutlookDateManager, Startable


Constructor Summary
OutlookDateManagerImpl(com.atlassian.event.api.EventPublisher eventPublisher)
           
OutlookDateManagerImpl(com.atlassian.event.api.EventPublisher eventPublisher, ApplicationProperties applicationProperties)
           
 
Method Summary
 OutlookDate getOutlookDate(java.util.Locale locale)
          Returns an outlook that has been constructed with this locale
 void onClearCache(ClearCacheEvent event)
           
 void refresh()
          Refreshes all the Outlook dates so they contain the new date format
 void start()
          This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutlookDateManagerImpl

public OutlookDateManagerImpl(com.atlassian.event.api.EventPublisher eventPublisher)

OutlookDateManagerImpl

public OutlookDateManagerImpl(com.atlassian.event.api.EventPublisher eventPublisher,
                              ApplicationProperties applicationProperties)
Method Detail

start

public void start()
           throws java.lang.Exception
Description copied from interface: Startable
This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.

Specified by:
start in interface Startable
Throws:
java.lang.Exception - Allows implementations to throw an Exception.

onClearCache

@EventListener
public void onClearCache(ClearCacheEvent event)

refresh

public void refresh()
Description copied from interface: OutlookDateManager
Refreshes all the Outlook dates so they contain the new date format

Specified by:
refresh in interface OutlookDateManager

getOutlookDate

public OutlookDate getOutlookDate(java.util.Locale locale)
Description copied from interface: OutlookDateManager
Returns an outlook that has been constructed with this locale

Specified by:
getOutlookDate in interface OutlookDateManager


Copyright © 2002-2010 Atlassian. All Rights Reserved.