Raymond Feng wrote:
The OASIS SCA spec seems to be clearer on the deployment composite. It has to be attached to an installed contribution so that it can be resolved in the context of the "host" contribution. IMO, this is similar to the OSGi "fragment" concept which can be attached to a host bundle.

Thanks,
Raymond

Raymond,

+1 - this is exactly the right idea, in my opinion.

A supplied composite MUST be resolved against SOME contribution otherwise how can you find the interface(s) and implementation(s) that it uses/references?

The simplest approach is to resolve the supplied composite in the context of the first supplied contribution. Anything else will require a more complex method call which names the contribution to use for resolution.


Yours,  Mike.

Reply via email to