Package org.objectweb.proactive.core.component

Examples of org.objectweb.proactive.core.component.ControllerDescription


      Node N1C = VN1.getANode();
      Node N2 = VN2.getANode();
     
      Component testComponent = gf.newFcInstance(
          tTest,
          new ControllerDescription("testComponent", Constants.COMPOSITE),
          null,
          N1A);
     
      Component mergeSortComponent = gf.newFcInstance(
          tMergeSort,
          new ControllerDescription("mergeSortComponent", Constants.PRIMITIVE),
          new ContentDescription(MergeSort.class.getName()),
          N1B);
     
      Component SC1 = gf.newFcInstance(
          tSC,
          new ControllerDescription("SC1", Constants.PRIMITIVE),
          new ContentDescription(SkandiumComponentImp.class.getName()),
          N1C);
     
      Component SC2 = gf.newFcInstance(
          tSC,
          new ControllerDescription("SC2", Constants.PRIMITIVE),
          new ContentDescription(SkandiumComponentImp.class.getName()),
          N2);
     
      PAContentController cc = Utils.getPAContentController(testComponent);
      cc.addFcSubComponent(mergeSortComponent);
View Full Code Here


      Node N1sc1 = VN1.getANode();
      Node N2sc2 = VN2.getANode();
     
      Component compositeComp = gf.newFcInstance(
          tComposite,
          new ControllerDescription("compositeComp", Constants.COMPOSITE),
          null,
          N1composite);
     
      Component exampleComp = gf.newFcInstance(
          tExample,
          new ControllerDescription("exampleComp", Constants.PRIMITIVE),
          new ContentDescription(NQueens.class.getName()),
          N1example);
     
      Component SC1 = gf.newFcInstance(
          tSC,
          new ControllerDescription("SC1", Constants.PRIMITIVE),
          new ContentDescription(SkandiumComponentImp.class.getName()),
          N1sc1);
     
      Component SC2 = gf.newFcInstance(
          tSC,
          new ControllerDescription("SC2", Constants.PRIMITIVE),
          new ContentDescription(SkandiumComponentImp.class.getName()),
          N2sc2);
     
      PAContentController cc = Utils.getPAContentController(compositeComp);
      cc.addFcSubComponent(exampleComp);
View Full Code Here

TOP

Related Classes of org.objectweb.proactive.core.component.ControllerDescription

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.