PABindingController bcSC2 = Utils.getPABindingController(SC2);
bcSC2.bindFc("scr", SC1.getFcInterface("scrS"));
Utils.getPAGCMLifeCycleController(testComponent).startFc();
SkandiumComponentController scc = (SkandiumComponentController)
SC1.getFcInterface("scc");
SkandiumComponentController scc2 = (SkandiumComponentController)
SC2.getFcInterface("scc");
DelegationCondition cond = new DelegationCondition() {
private static final long serialVersionUID = 2L;
public boolean condition(int stackSize, int maxThreads) {
return stackSize > 8;
}
};
scc.setDelegationCondition(cond);
scc2.setDelegationCondition(cond);
MSRunnable mergeSort =
(MSRunnable) testComponent.getFcInterface("runnable");