Package com.opengamma.component.factory

Examples of com.opengamma.component.factory.RemoteComponentFactory


    try {
      ArgumentChecker.notNull(srcComponentServerUri, "srcComponentServerUri");
      ArgumentChecker.notNull(destComponentServerUri, "destComponentServerUri");
      s_logger.info("Starting " + getClass().getSimpleName());
      srcComponentServerUri = resolveComponentServerUri(srcComponentServerUri);
      RemoteComponentFactory srcRemoteComponentFactory = new RemoteComponentFactory(srcComponentServerUri);
      destComponentServerUri = resolveComponentServerUri(destComponentServerUri);
      RemoteComponentFactory destRemoteComponentFactory = new RemoteComponentFactory(destComponentServerUri);
      s_logger.info("Running " + getClass().getSimpleName());
      run(srcRemoteComponentFactory, destRemoteComponentFactory);
      s_logger.info("Finished " + getClass().getSimpleName());
      return true;
    } catch (Exception ex) {
View Full Code Here


  public final boolean run(String componentServerUri) {
    try {
      ArgumentChecker.notNull(componentServerUri, "componentServerUri");
      s_logger.info("Starting " + getClass().getSimpleName());
      componentServerUri = resolveComponentServerUri(componentServerUri);
      RemoteComponentFactory remoteComponentFactory = new RemoteComponentFactory(componentServerUri);
      s_logger.info("Running " + getClass().getSimpleName());
      run(remoteComponentFactory);
      s_logger.info("Finished " + getClass().getSimpleName());
      return true;
    } catch (Exception ex) {
View Full Code Here

TOP

Related Classes of com.opengamma.component.factory.RemoteComponentFactory

Copyright © 2018 www.massapicom. 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.