BindingController pmBC = Fractal.getBindingController(pmC);
//instanciate the JDOTransactionItf
Component tC = Fractal.getFactory(tT).newFcInstance();
Fractal.getNameController(tC).setFcName("transaction");
TransactionItf t = (TransactionItf) tC.getFcInterface("transaction");
BindingController tBC = Fractal.getBindingController(tC);
//Add the new components into the Speedo composite
Fractal.getContentController(speedoComponent).addFcSubComponent(pmC);
Fractal.getContentController(speedoComponent).addFcSubComponent(tC);
//add bindings on the po manager
pmBC.bindFc(JDOPOManager.JORM_FACTORY_BINDING,
components[JF_COMPONENT_IDX]);
pmBC.bindFc(JDOPOManager.PNAME_CODER_BINDING,
components[PNC_COMPONENT_IDX]);
pmBC.bindFc(JDOPOManager.PO_MANAGER_FACTORY_BINDING,
components[PMF_COMPONENT_IDX]);
pmBC.bindFc(JDOPOManager.QUERY_MANAGER_BINDING,
components[QM_COMPONENT_IDX]);
pmBC.bindFc(JDOPOManager.TRANSACTIONAL_PERSISTENCE_MANAGER_BINDING,
components[TPM_COMPONENT_IDX]);
pmBC.bindFc(JDOPOManager.TRANSACTION_BINDING, t);
//add bindings on the transaction
tBC.bindFc(AbstractTransaction.PO_MANAGER_BINDING, pm);
tBC.bindFc(AbstractTransaction.TRANSACTIONAL_PERSISTENCE_MANAGER_BINDING,
components[TPM_COMPONENT_IDX]);
tBC.bindFc(AbstractTransaction.MAPPER_BINDING,
components[MAPPER_COMPONENT_IDX]);
//Add a ConenctionHolder to the transaction
t.setConnectionHolder(chf.createConnectionHolder());
//start components
Fractal.getLifeCycleController(pmC).startFc();
Fractal.getLifeCycleController(tC).startFc();