Package com.opengamma.component

Examples of com.opengamma.component.ComponentInfo.addAttribute()


      itr.remove();
    }
    final FunctionBlacklist blacklist = _bean.getObjectCreating();
   
    ComponentInfo infoRO = new ComponentInfo(FunctionBlacklist.class, classifier);
    infoRO.addAttribute(ComponentInfoAttributes.LEVEL, 1);
    infoRO.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteFunctionBlacklist.class);
    repo.registerComponent(infoRO, blacklist);
   
    if (blacklist instanceof ManageableFunctionBlacklist) {
      ComponentInfo infoMng = new ComponentInfo(ManageableFunctionBlacklist.class, classifier);
View Full Code Here


    }
    final FunctionBlacklist blacklist = _bean.getObjectCreating();
   
    ComponentInfo infoRO = new ComponentInfo(FunctionBlacklist.class, classifier);
    infoRO.addAttribute(ComponentInfoAttributes.LEVEL, 1);
    infoRO.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteFunctionBlacklist.class);
    repo.registerComponent(infoRO, blacklist);
   
    if (blacklist instanceof ManageableFunctionBlacklist) {
      ComponentInfo infoMng = new ComponentInfo(ManageableFunctionBlacklist.class, classifier);
      infoMng.addAttribute(ComponentInfoAttributes.LEVEL, 1);
View Full Code Here

    infoRO.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteFunctionBlacklist.class);
    repo.registerComponent(infoRO, blacklist);
   
    if (blacklist instanceof ManageableFunctionBlacklist) {
      ComponentInfo infoMng = new ComponentInfo(ManageableFunctionBlacklist.class, classifier);
      infoMng.addAttribute(ComponentInfoAttributes.LEVEL, 1);
      infoMng.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteManageableFunctionBlacklist.class);
      repo.registerComponent(infoMng, blacklist);
    }
  }
View Full Code Here

    repo.registerComponent(infoRO, blacklist);
   
    if (blacklist instanceof ManageableFunctionBlacklist) {
      ComponentInfo infoMng = new ComponentInfo(ManageableFunctionBlacklist.class, classifier);
      infoMng.addAttribute(ComponentInfoAttributes.LEVEL, 1);
      infoMng.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteManageableFunctionBlacklist.class);
      repo.registerComponent(infoMng, blacklist);
    }
  }

}
View Full Code Here

                                                        getUnderlying(),
                                                        getCacheManager());

    // register
    ComponentInfo info = new ComponentInfo(PositionMaster.class, getClassifier());
    info.addAttribute(ComponentInfoAttributes.LEVEL, 2);
    info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemotePositionMaster.class);
    repo.registerComponent(info, master);
    if (isPublishRest()) {
      repo.getRestComponents().publish(info, new DataPositionMasterResource(master));
    }
View Full Code Here

                                                        getCacheManager());

    // register
    ComponentInfo info = new ComponentInfo(PositionMaster.class, getClassifier());
    info.addAttribute(ComponentInfoAttributes.LEVEL, 2);
    info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemotePositionMaster.class);
    repo.registerComponent(info, master);
    if (isPublishRest()) {
      repo.getRestComponents().publish(info, new DataPositionMasterResource(master));
    }
  }
View Full Code Here

                                                      getUnderlying(),
                                                      getCacheManager());

    // register
    ComponentInfo info = new ComponentInfo(OrganizationMaster.class, getClassifier());
    info.addAttribute(ComponentInfoAttributes.LEVEL, 2);
    info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteOrganizationMaster.class);
    repo.registerComponent(info, master);
    if (isPublishRest()) {
      repo.getRestComponents().publish(info, new DataOrganizationMasterResource(master));
    }
View Full Code Here

                                                      getCacheManager());

    // register
    ComponentInfo info = new ComponentInfo(OrganizationMaster.class, getClassifier());
    info.addAttribute(ComponentInfoAttributes.LEVEL, 2);
    info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteOrganizationMaster.class);
    repo.registerComponent(info, master);
    if (isPublishRest()) {
      repo.getRestComponents().publish(info, new DataOrganizationMasterResource(master));
    }
  }
View Full Code Here

                                                    getUnderlying(),
                                                    getCacheManager());

    // register
    ComponentInfo info = new ComponentInfo(RegionMaster.class, getClassifier());
    info.addAttribute(ComponentInfoAttributes.LEVEL, 2);
    info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteRegionMaster.class);
    repo.registerComponent(info, master);
    if (isPublishRest()) {
      repo.getRestComponents().publish(info, new DataRegionMasterResource(master));
    }
View Full Code Here

                                                    getCacheManager());

    // register
    ComponentInfo info = new ComponentInfo(RegionMaster.class, getClassifier());
    info.addAttribute(ComponentInfoAttributes.LEVEL, 2);
    info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteRegionMaster.class);
    repo.registerComponent(info, master);
    if (isPublishRest()) {
      repo.getRestComponents().publish(info, new DataRegionMasterResource(master));
    }
  }
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.