Package com.opengamma.core.position.impl

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


    return new RemoteFunctionConfigurationSource(uri);
  }

  public RemotePositionSource getPositionSource(final String name) {
    final URI uri = _components.getComponentInfo(PositionSource.class, name).getUri();
    return new RemotePositionSource(uri);
  }
View Full Code Here


   * @param name the classifier name of the object you want to retrieve
   * @return the interface requested, or null if not present
   */
  public PositionSource getPositionSource(final String name) {
    URI uri = getComponentServer().getComponentInfo(PositionSource.class, name).getUri();
    return new RemotePositionSource(uri);
  }
View Full Code Here

   * @param preferredClassifiers a list of names of classifiers in order of preference (most preferred first), or null
   * @return the best matching interface available
   */
  public PositionSource getPositionSource(final List<String> preferredClassifiers) {
    URI uri = getTopLevelComponent(preferredClassifiers, PositionSource.class).getUri();
    return new RemotePositionSource(uri);
  }
View Full Code Here

   * @return a map of classifier names to requested interface type
   */
  public Map<String, PositionSource> getPositionSources() {
    Map<String, PositionSource> result = new LinkedHashMap<String, PositionSource>();
    for (ComponentInfo info : getComponentServer().getComponentInfos(PositionSource.class)) {
      result.put(info.getClassifier(), new RemotePositionSource(info.getUri()));
    }
    return result;   
  }
View Full Code Here

TOP

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

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.