public synchronized void setStatisticProviderMode(final String statisticProviderId,
final STATISTIC_PROVIDER_MODE statisticProviderMode) throws EZBComponentException {
ManagedStatisticProvider managedStatisticProvider = this.managedStatisticProviders.get(statisticProviderId);
if (managedStatisticProvider == null) {
throw new EZBComponentException("Cannot find statisticProviderId " + statisticProviderId);
}
managedStatisticProvider.setManagedStatisticProviderMode(statisticProviderMode);
}