Package com.opengamma.master.position.impl

Examples of com.opengamma.master.position.impl.DelegatingPositionMaster


  @Override
  public void init(ComponentRepository repo, LinkedHashMap<String, String> configuration) {   
    Map<String, PositionMaster> map = new HashMap<String, PositionMaster>();   
    String scheme = repo.getInfo(getUserPositionMaster()).getAttribute(ComponentInfoAttributes.UNIQUE_ID_SCHEME);
    map.put(scheme, getUserPositionMaster());
    PositionMaster master = new DelegatingPositionMaster(getUnderlyingPositionMaster(), map);
   
    // register
    ComponentInfo info = new ComponentInfo(PositionMaster.class, getClassifier());
    info.addAttribute(ComponentInfoAttributes.LEVEL, 2);
    info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemotePositionMaster.class);
View Full Code Here

TOP

Related Classes of com.opengamma.master.position.impl.DelegatingPositionMaster

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.