1) As per 1.0 spec, bindings can be defined on a component. Component
service can be promoted to be composite service as shown in below example.
Question: Can current Tuscany's binding's loader/builder framework be able
to load bindings which are defined under component? Is this currently
supported?
<composite name="composite1">
<service name="s1A" promote="c1/s1"/>
<component name="c1">
<service name="s1">
<binding.abc ... />
..
</service>
<implementation.xxx .../>
</component>
</composite>
2) As per 1.0 spec, "A service or reference definition with no binding
element specified uses the SCA/default binding" Concrete sample is outlined
below where
there are no bindings defined under a service. Tuscany binding's extension
framework is based on loader/builder framework which looks for
<binding.xxx...> in
order to build Service and Reference.
Question: Given this example how does Tuscany can build default binding,
without <binding.sca> defined? Is it currently supported?
<composite name="composite1">
<service name="s1A" promote="c1/s1"/>
<component name="c1">
<service name="s1">
.. <! no bindings defined, which means it's default binding,
which is binding.sca >
</service>
<implementation.xxx .../>
</component>
</composite>
Help is appreciated
Regards
Rashmi