此内容没有您所选择的语言版本。
3.8. Composite Reference
A composite reference allows a component reference to be wired to a service outside the application. Similar to composite services, bindings are used with composite references to specify the communication method for invoking the external service.
Figure 3.9. Composite Reference
Example 3.8. Sample Corresponding XML
<sca:composite name="example" targetNamespace="urn:example:switchyard:1.0"> <sca:reference name="ReferenceB" multiplicity="0..1" promote="Routing/ServiceB"> <sca:interface.java interface="org.example.ServiceB"/> </sca:reference> </sca:composite>