private CacheManager _cacheManager;
//-------------------------------------------------------------------------
@Override
protected HistoricalTimeSeriesProvider initHistoricalTimeSeriesProvider(ComponentRepository repo) {
BloombergHistoricalTimeSeriesProvider provider = new BloombergHistoricalTimeSeriesProvider(getBloombergConnector());
if (getCacheManager() == null) {
return provider;
}
repo.registerLifecycle(provider);
return new EHCachingHistoricalTimeSeriesProvider(provider, getCacheManager());