final RegionSource regionSource = OpenGammaCompilationContext.getRegionSource(context);
final ConventionBundleSource conventionSource = OpenGammaCompilationContext.getConventionBundleSource(context);
final SecuritySource securitySource = OpenGammaCompilationContext.getSecuritySource(context);
final HistoricalTimeSeriesResolver timeSeriesResolver = OpenGammaCompilationContext.getHistoricalTimeSeriesResolver(context);
final ConfigSource configSource = OpenGammaCompilationContext.getConfigSource(context);
_securityConverter = new InterestRateInstrumentTradeOrSecurityConverter(holidaySource, conventionSource, regionSource, securitySource, true);
_definitionConverter = new FixedIncomeConverterDataProvider(conventionSource, timeSeriesResolver);
_curveCalculationConfig = new ConfigDBCurveCalculationConfigSource(configSource);
ConfigDBCurveCalculationConfigSource.reinitOnChanges(context, this);
}