return context;
}
private FunctionCompilationContext createFunctionCompilationContext() {
final FunctionCompilationContext context = new FunctionCompilationContext();
OpenGammaCompilationContext.setInterpolatedYieldCurveDefinitionSource(context, new ConfigDBInterpolatedYieldCurveDefinitionSource(getConfigSource()));
OpenGammaCompilationContext.setInterpolatedYieldCurveSpecificationBuilder(context, new ConfigDBInterpolatedYieldCurveSpecificationBuilder(getConfigSource()));
context.setFunctionReinitializer(new DummyFunctionReinitializer());
OpenGammaCompilationContext.setHolidaySource(context, getHolidaySource());
OpenGammaCompilationContext.setRegionSource(context, getRegionSource());
OpenGammaCompilationContext.setOrganizationSource(context, getOrganizationSource());