BloombergHistoricalTimeSeriesProvider provider = new BloombergHistoricalTimeSeriesProvider(getBloombergConnector());
if (getCacheManager() == null) {
return provider;
}
repo.registerLifecycle(provider);
return new EHCachingHistoricalTimeSeriesProvider(provider, getCacheManager());
}