com.atlassian.jira.web.bean.i18n
Class DefaultTranslationStoreFactory

java.lang.Object
  extended by com.atlassian.jira.web.bean.i18n.DefaultTranslationStoreFactory
All Implemented Interfaces:
TranslationStoreFactory

public class DefaultTranslationStoreFactory
extends Object
implements TranslationStoreFactory

Factory for TranslationStore instances. The default behaviour is:

The default can be overridden by setting the -D system property to "true" or "false".


Constructor Summary
DefaultTranslationStoreFactory(JiraProperties properties)
           
 
Method Summary
 TranslationStore createTranslationStore(Map<String,String> bundles)
          Creates the appropriate TranslationStore depending on whether we're running in OnDemand or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTranslationStoreFactory

public DefaultTranslationStoreFactory(JiraProperties properties)
Method Detail

createTranslationStore

public TranslationStore createTranslationStore(Map<String,String> bundles)
Description copied from interface: TranslationStoreFactory
Creates the appropriate TranslationStore depending on whether we're running in OnDemand or not.

Specified by:
createTranslationStore in interface TranslationStoreFactory
Parameters:
bundles - a Map containing the bundles
Returns:
a new TranslationStore


Copyright © 2002-2014 Atlassian. All Rights Reserved.