FileDocCategorySizeDatePackage
PeersTableExtensions.javaAPI DocAzureus 3.0.3.42032Mon Sep 20 07:38:10 BST 2004org.gudy.azureus2.pluginsimpl.local.ui.tables.peers

PeersTableExtensions

public class PeersTableExtensions extends Object
author
Olivier

Fields Summary
private static PeersTableExtensions
instance
private static org.gudy.azureus2.core3.util.AEMonitor
class_mon
private Map
items
private org.gudy.azureus2.core3.util.AEMonitor
items_mon
Constructors Summary
private PeersTableExtensions()


    
   items = new HashMap();
  
Methods Summary
public voidaddExtension(java.lang.String name, org.gudy.azureus2.plugins.ui.tables.peers.PluginPeerItemFactory item)

    try{
    	items_mon.enter();
    
    	items.put(name,item);
      
    }finally{
    	
    	items_mon.exit();
    }
  
public java.util.MapgetExtensions()

    try{
    	items_mon.enter();
    
    	return new HashMap(items);
    }finally{
    	
    	items_mon.exit();
    }
  
public static org.gudy.azureus2.pluginsimpl.local.ui.tables.peers.PeersTableExtensionsgetInstance()

  	try{
  		class_mon.enter();
  	
  		if(instance == null)
  			instance = new PeersTableExtensions();
  		return instance;
  		
  	}finally{
  		
  		class_mon.exit();
  	}