FileDocCategorySizeDatePackage
StatsProviderManager.javaAPI DocGlassfish v2 API3193Fri May 04 22:24:46 BST 2007com.sun.enterprise.admin.wsmgmt.stats.spi

StatsProviderManager

public class StatsProviderManager extends Object
Manages the providers for each endpoint

Fields Summary
private static StatsProviderManager
sm
private HashMap
wsEpStatMap
Constructors Summary
private StatsProviderManager()


       wsEpStatMap = new HashMap(); 
Methods Summary
public WebServiceEndpointStatsProvidergetEndpointStatsProvider(java.lang.String endpoint)

       Object obj = wsEpStatMap.get(endpoint);
       if ( obj != null ) {
            return (WebServiceEndpointStatsProvider) obj;
       }
       else {
        return null;
       }
    
public static synchronized com.sun.enterprise.admin.wsmgmt.stats.spi.StatsProviderManagergetInstance()

        if ( sm == null) {
            sm = new StatsProviderManager();
        }
        return sm;
    
public voidregisterEndpointStatsProvider(java.lang.String endpoint, WebServiceEndpointStatsProvider prov)
Registers the Global Listener.


        wsEpStatMap.put(endpoint, prov);
    
public voidunregisterEndpointStatsProvider(java.lang.String endpoint)


        wsEpStatMap.remove(endpoint);