com.atlassian.jira.config.properties
Class PropertiesManager

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

public class PropertiesManager
extends Object


Constructor Summary
PropertiesManager()
           
 
Method Summary
static PropertiesManager getInstance()
          Deprecated. Declare a constructor dependency for dependency injection by PICO, or if absolutely needed in a static context use ComponentManager.getComponent(PropertiesManager.class) instead
 com.opensymphony.module.propertyset.PropertySet getPropertySet()
          Get the property set
 com.atlassian.util.concurrent.Supplier<com.opensymphony.module.propertyset.PropertySet> getPropertySetReference()
          Get a reference for when you need to look at the properties for a longer period of time.
 void refresh()
          Refresh the properties from the database
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesManager

public PropertiesManager()
Method Detail

getInstance

@Deprecated
public static PropertiesManager getInstance()
Deprecated. Declare a constructor dependency for dependency injection by PICO, or if absolutely needed in a static context use ComponentManager.getComponent(PropertiesManager.class) instead

Singleton retriever


getPropertySet

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


getPropertySetReference

public com.atlassian.util.concurrent.Supplier<com.opensymphony.module.propertyset.PropertySet> getPropertySetReference()
Get a reference for when you need to look at the properties for a longer period of time.

Returns:
a resttable reference to the global properties

refresh

public void refresh()
Refresh the properties from the database



Copyright © 2002-2011 Atlassian. All Rights Reserved.