code: 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);
  		}
  	}
docs: Retrieve a MetricsProvider.
  @param name the name of the MetricsProvider to retrieve.
  @return the named MetricsProvider instance.
  @throws MetricsException when the named MetricsProvider does not exist.