Package com.opengamma.examples.bloomberg.loader

Source Code of com.opengamma.examples.bloomberg.loader.ExampleCurveConfigurationLoader

/**
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.examples.bloomberg.loader;

import com.opengamma.component.tool.AbstractTool;
import com.opengamma.financial.analytics.ircurve.calcconfig.MultiCurveCalculationConfigPopulator;
import com.opengamma.financial.tool.ToolContext;
import com.opengamma.master.config.ConfigMaster;

/**
*
*/
public class ExampleCurveConfigurationLoader extends AbstractTool<ToolContext> {

  @Override
  protected void doRun() throws Exception {
    final ConfigMaster configMaster = getToolContext().getConfigMaster();
    new MultiCurveCalculationConfigPopulator(configMaster);
  }

  /**
   * Main method to run the tool
   *
   * @param args the arguments, unused
   */
  public static void main(final String[] args) { //CSIGNORE
    new ExampleCurveConfigurationLoader().initAndRun(args, ToolContext.class);
    System.exit(0);
  }
}
TOP

Related Classes of com.opengamma.examples.bloomberg.loader.ExampleCurveConfigurationLoader

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.