If C1 does not specify a binding, it inherits it from C2's composite service
(which might in turn inherit it from the component service).

On Tue, Jul 26, 2011 at 11:08 AM, Scott Kurz <sku...@gmail.com> wrote:

> Trying to understand myself as the spec doesn't seem crystal clear...
>
> I assume we'd agree also that the answer should be the same for this
> variation:
>
> composite B with component C2
>
>      <service name="S1Promoted" promote="C2">
>          <binding.ws/>   <!-- Binding now specified on composite service
> -->
>     </service>
>      <component name="C2">
>          <implementation.java class="..."/>
>          <service name="S1">
>              <binding.ws/>
>          </service>
>      </component>
>
> In contrast, suppose we that composite A with component C1 did not
> explicitly specify
> <binding.sca>, e.g.:
>
>    <component name="C1">
>        <implementation.composite name="B"/>
>         <service name="S1Promoted"/>
>    </component>
>
> Should this be <binding.ws> then?  Does it matter whether B's
> composite-level service has the binding or not?
>
> Scott
>

Reply via email to