public MetricsProvider getProvider ( String name ) throws MetricsException { if ( container . containsKey ( name ) ) { return ( MetricsProvider ) container . get ( name ) ; } else { throw new MetricsException ( "No MetricsProvider with name: " + name ) ; } }
Retrieve a MetricsProvider .