FileDocCategorySizeDatePackage
ConfigSectionRepository.javaAPI DocAzureus 3.0.3.42069Thu Oct 13 14:50:52 BST 2005org.gudy.azureus2.pluginsimpl.local.ui.config

ConfigSectionRepository

public class ConfigSectionRepository extends Object

Fields Summary
private static ConfigSectionRepository
instance
private static AEMonitor
class_mon
private ArrayList
items
Constructors Summary
private ConfigSectionRepository()


    
   items = new ArrayList();
  
Methods Summary
public voidaddConfigSection(org.gudy.azureus2.plugins.ui.config.ConfigSection item)

  	try{
  		class_mon.enter();
  		
  		items.add(item);
  		
    }finally{
    	
    	class_mon.exit();
    }
  
public static org.gudy.azureus2.pluginsimpl.local.ui.config.ConfigSectionRepositorygetInstance()

  	try{
  		class_mon.enter();
  		
	    if(instance == null)
	      instance = new ConfigSectionRepository();
	    return instance;
  	}finally{
  		
  		class_mon.exit();
  	}
  
public java.util.ArrayListgetList()

 	try{
  		class_mon.enter();
   
  		return (ArrayList)items.clone();
  		
 	  }finally{
    	
    	class_mon.exit();
    } 		
  
public voidremoveConfigSection(org.gudy.azureus2.plugins.ui.config.ConfigSection item)

	  	try{
	  		class_mon.enter();
	  		
	  		items.remove(item);
	  		
	    }finally{
	    	
	    	class_mon.exit();
	    }