Raymond Feng wrote:
[snip]

Should autowiring work at the domain level? It doesn't at the moment. It's
only considered within a contributed composite. To autowire at the domain
level we have to adjust the way that service endpoints and references are
matched, i.e. extend the process to looking at interfaces and policies.


Domain-level autowiring should be supported. The matching algorithm should check the interfaces and policies and the same rules apply to both autowire and regular wires.

+1

[snip]

A related question: For the @target attribute of <reference> or <wire> element, the URI is <componentName>/<serviceName>. Can the URI point to a component service in the SCA domain or does it have to be in the same composite?

The URI can point to a service outside of the composite.

I think it helps to think about the domain like this:

- there is a domain level composite (model)

- adding a composite to the domain is like including the composite in the domain level composite using an SCA <include>

Then the normal SCA scoping, naming, wiring, resolving etc. rules apply.

--
Jean-Sebastien

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to