Package com.opengamma.core.position.impl

Examples of com.opengamma.core.position.impl.DataPositionSourceResource


    final ComponentInfo info = new ComponentInfo(PositionSource.class, getClassifier());
    info.addAttribute(ComponentInfoAttributes.LEVEL, 2);
    info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemotePositionSource.class);
    repo.registerComponent(info, source);
    if (isPublishRest()) {
      repo.getRestComponents().publish(info, new DataPositionSourceResource(source));
    }
  }
View Full Code Here


      final ComponentInfo info = new ComponentInfo(PositionSource.class, getUnderlyingClassifier());
      info.addAttribute(ComponentInfoAttributes.LEVEL, 1);
      info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemotePositionSource.class);
      repo.registerComponent(info, source);
      if (isPublishRest()) {
        repo.getRestComponents().publish(info, new DataPositionSourceResource(source));
      }
    }
    return source;
  }
View Full Code Here

      final ComponentInfo info = new ComponentInfo(PositionSource.class, getUserClassifier());
      info.addAttribute(ComponentInfoAttributes.LEVEL, 1);
      info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemotePositionSource.class);
      repo.registerComponent(info, source);
      if (isPublishRest()) {
        repo.getRestComponents().publish(info, new DataPositionSourceResource(source));
      }
    }
    return source;
  }
View Full Code Here

    ComponentInfo info = new ComponentInfo(PositionSource.class, getClassifier());
    info.addAttribute(ComponentInfoAttributes.LEVEL, 1);
    info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemotePositionSource.class);
    repo.registerComponent(info, source);
    if (isPublishRest()) {
      repo.getRestComponents().publish(info, new DataPositionSourceResource(source));
    }
  }
View Full Code Here

    ComponentInfo redisSourceInfo = new ComponentInfo(NonVersionedRedisPositionSource.class, getClassifier());
    redisSourceInfo.addAttribute(ComponentInfoAttributes.LEVEL, 1);
    repo.registerComponent(redisSourceInfo, source);
   
    if (isPublishRest()) {
      repo.getRestComponents().publish(positionSourceInfo, new DataPositionSourceResource(source));
    }
  }
View Full Code Here

TOP

Related Classes of com.opengamma.core.position.impl.DataPositionSourceResource

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.