Examples of run()


Examples of com.opengamma.examples.simulated.loader.ExampleTimeSeriesRatingLoader.run()

  private void loadTimeSeriesRating() {
    final Log log = new Log("Creating Timeseries configuration");
    try {
      final ExampleTimeSeriesRatingLoader timeSeriesRatingLoader = new ExampleTimeSeriesRatingLoader();
      timeSeriesRatingLoader.run(getToolContext());
      log.done();
    } catch (final RuntimeException t) {
      log.fail(t);
    }
  }
View Full Code Here

Examples of com.opengamma.examples.simulated.loader.ExampleViewsPopulator.run()

  private void loadViews() {
    final Log log = new Log("Creating example view definitions");
    try {
      final ExampleViewsPopulator populator = new ExampleViewsPopulator();
      populator.run(getToolContext());
      log.done();
    } catch (final RuntimeException t) {
      log.fail(t);
    }
  }
View Full Code Here

Examples of com.opengamma.financial.convention.ConventionInstrumentTimeSeriesLoader.run()

  @Override
  public void init(ComponentRepository repo, LinkedHashMap<String, String> configuration) throws Exception {
    ConventionInstrumentTimeSeriesLoader loader = new ConventionInstrumentTimeSeriesLoader(
        getHistoricalTimeSeriesSource(), getHistoricalTimeSeriesLoader(), getDataSource(), getDataProvider(),
        getDataField(), ExternalScheme.of(getIdentifierScheme()), isUpdateExisting());
    loader.run();
   
    System.out.println("Convention instrument time-series loader completed");
    System.exit(0);
  }
View Full Code Here

Examples of com.opengamma.integration.viewer.status.impl.BloombergReferencePortfolioMaker.run()

  }

  private UniqueId createReferencePortfolio() {
    ToolContext toolContext = getToolContext();
    BloombergReferencePortfolioMaker portfolioMaker = new BloombergReferencePortfolioMaker(toolContext.getPortfolioMaster(), toolContext.getPositionMaster(), toolContext.getSecurityMaster());
    portfolioMaker.run();
    return findPortfolioId(BloombergReferencePortfolioMaker.PORTFOLIO_NAME);
  }

  @SuppressWarnings("unchecked")
  @Override
View Full Code Here

Examples of com.opengamma.integration.viewer.status.impl.ViewStatusCalculationWorker.run()

  }
 
  private void generateViewStatusReport(final UniqueId portfolioId, final ViewStatusOption option) {
   
    ViewStatusCalculationWorker calculationWorker = new ViewStatusCalculationWorker(getToolContext(), portfolioId, option);
    ViewStatusResultAggregator resultAggregator = calculationWorker.run();
   
    ViewStatusResultProducer resultProducer = new ViewStatusResultProducer();
    String statusResult = resultProducer.statusResult(resultAggregator, option.getFormat(), option.getAggregateType());
    try {
      File outputFile = option.getOutputFile();
View Full Code Here

Examples of com.openmashupos.mhttpserver.client.MHTTPServer.run()

        }
        );

      }
    });
    mhttpServer.run();
  }
}
View Full Code Here

Examples of com.orientechnologies.orient.console.OConsoleDatabaseApp.run()

      final OConsoleDatabaseApp console = new OGremlinConsole(args);
      if (tty)
        console.setReader(new TTYConsoleReader());

      console.run();

    } finally {
      try {
        stty("echo");
      } catch (Exception e) {
View Full Code Here

Examples of com.peterhi.obsolete.MultithreadedRudpLocalEndpoint.run()

public class AboutMeServer {

  public static void main(String[] args) throws Exception {
    RudpLocalEndpoint endpoint = new MultithreadedRudpLocalEndpoint(22222);
    RemoteRegistry registry = new RemoteRegistry(endpoint);
    endpoint.run();

    ArrayList<String> friendNames = new ArrayList<String>();
   
    for (int i = 0; i < 100; i++) {
      friendNames.add("Friend " + i);
View Full Code Here

Examples of com.peterhi.obsolete.RudpLocalEndpoint.run()

public class AboutMeServer {

  public static void main(String[] args) throws Exception {
    RudpLocalEndpoint endpoint = new MultithreadedRudpLocalEndpoint(22222);
    RemoteRegistry registry = new RemoteRegistry(endpoint);
    endpoint.run();

    ArrayList<String> friendNames = new ArrayList<String>();
   
    for (int i = 0; i < 100; i++) {
      friendNames.add("Friend " + i);
View Full Code Here

Examples of com.peterhi.working.EndpointImpl.run()

          ex.printStackTrace();
        }
      }
    });
   
    endpoint.run();
  }
 
}
View Full Code Here
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.