On 9/29/07, Jean-Sebastien Delfino <[EMAIL PROTECTED]> wrote:

<snip>

Here's sample code to illustrate that use case:
>
> http://svn.apache.org/repos/asf/incubator/tuscany/sandbox/sebastien/java/sca/domain-and-node/samples/
> SampleTuscanyDomainImplementation.java


Why does that sample need to add and start composites with:

          // Add the Calculator deployable composite to the domain composite
          domain.addComposite(new QName("http://calc";, "Calculator"));

        // Start the Calculator composite
          domain.startComposite(new QName("http://calc";, "Calculator"));

The contribution jar is going to have the sca-contribution.xml (or the
composites in the "deployables" folder we once talked of supporting), so
can't the simplest case just be adding the contribution and the deployable
composites get started automatically?

   ...ant

Reply via email to