public class ExampleHistoricalTimeSeriesSourceComponentFactory extends HistoricalTimeSeriesSourceComponentFactory {
//-------------------------------------------------------------------------
@Override
protected HistoricalTimeSeriesResolver createResolver(ComponentRepository repo) {
final ExampleHistoricalTimeSeriesFieldAdjustmentMapFactoryBean factory = new ExampleHistoricalTimeSeriesFieldAdjustmentMapFactoryBean();
final Collection<HistoricalTimeSeriesFieldAdjustmentMap> fieldAdjustmentMaps = ImmutableList.of(factory.getObjectCreating());
final HistoricalTimeSeriesSelector selector = new DefaultHistoricalTimeSeriesSelector(getConfigSource());
return new FieldMappingHistoricalTimeSeriesResolver(fieldAdjustmentMaps, selector, getHistoricalTimeSeriesMaster());
}