Examples of wire()


Examples of com.quantcomponents.algo.DummyTradingAgentExecution.wire()

      handleIdentities.put(entry.getKey(), entry.getKey());
    }
   
    for (Map.Entry<TradingAgentExecutionHandle, ExecutionPersistentData> entry : factoryExecutionByHandle.entrySet()) {
      DummyTradingAgentExecution execution = new DummyTradingAgentExecution();
      execution.wire(decodeInputSeriesMap(entry.getValue().inputSeriesNames), (ISeriesAugmentable<Date, Double, ISeriesPoint<Date, Double>>) entry.getValue().outputSeries);
      executionByHandle.put(entry.getKey(), execution);
      handleIdentities.put(entry.getKey(), entry.getKey());
    }
   
    for (Map.Entry<IHierarchyItemHandle, HierarchyItem> entry : factoryHierarchy.entrySet()) {
View Full Code Here

Examples of com.quantcomponents.algo.ITradingAgentExecution.wire()

    } else {
      execution = new SimulatedTradingAgentExecution(tradingAgent, simulatedExecutionServiceFactory.createSimulatedExecutionService());
    }
    String executionOutputSeriesId = "output-" + execution.toString();
    LinkedListSeries<Date, Double, ISeriesPoint<Date, Double>> outputSeries = new LinkedListSeries<Date, Double, ISeriesPoint<Date, Double>>(executionOutputSeriesId, false);
    execution.wire(binding.getInputSeries(), outputSeries);
    TradingAgentExecutionHandle handle = new TradingAgentExecutionHandle(execution.toString());
    hierarchyContainer.putTradingAgentExecution(handle, execution, bindingHandle);
    return handle;
  }
View Full Code Here

Examples of org.eclipse.sisu.wire.Wiring.wire()

                    if ( w.wire( key ) )
                    {
                        return true;
                    }
                }
                return defaultWiring.wire( key );
            }
        };
    }

    /**
 
View Full Code Here

Examples of org.switchyard.ServiceReference.wire()

                // wire a reference if the name is different from promoted name
                compositeReferenceLoop: for (CompositeReferenceModel compositeReference : getConfig().getComposite().getReferences()) {
                    for (ComponentReferenceModel componentReference : compositeReference.getComponentReferences()) {
                        if (componentReference != null && componentReference.equals(reference)) {
                            if (!componentReference.getQName().equals(compositeReference.getQName())) {
                                svcRef.wire(compositeReference.getQName());
                                wired = true;
                                break compositeReferenceLoop;
                            }
                        }
                    }
View Full Code Here

Examples of org.switchyard.ServiceReference.wire()

                    }
                }
               
                // if we didn't wire to a promoted reference, then default to unqualified service name
                if (!wired) {
                    svcRef.wire(ComponentNames.unqualify(svcRef));
                }
                references.add(svcRef);
            }
           
            // register a service for each one declared in the component
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.