com.atlassian.jira.config.properties
Class PropertiesManager

java.lang.Object
  extended by com.atlassian.jira.config.properties.PropertiesManager

public class PropertiesManager
extends Object

TODO: Thread safety!


Constructor Summary
protected PropertiesManager()
          Hidden constructor which loads the property set
 
Method Summary
static PropertiesManager getInstance()
          Singleton retriever
 com.opensymphony.module.propertyset.PropertySet getPropertySet()
          Get the property set
protected  void loadPropertySet()
          Locate PropertySet using PropertyStore for this sequenceName/sequenceId mapping.
 void refresh()
          Refresh the properties from the database
static void setPropertiesManager(PropertiesManager propertiesManager)
          Only useful for mocking out the PropertiesManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesManager

protected PropertiesManager()
Hidden constructor which loads the property set

Method Detail

getInstance

public static PropertiesManager getInstance()
Singleton retriever


setPropertiesManager

public static void setPropertiesManager(PropertiesManager propertiesManager)
Only useful for mocking out the PropertiesManager


getPropertySet

public com.opensymphony.module.propertyset.PropertySet getPropertySet()
Get the property set


refresh

public void refresh()
Refresh the properties from the database


loadPropertySet

protected void loadPropertySet()
Locate PropertySet using PropertyStore for this sequenceName/sequenceId mapping.



Copyright © 2002-2008 Atlassian. All Rights Reserved.