Willis C White wrote:
I am trying to understand these lines in the FeedAggregator.composite file
<service name="rssSample" promote="RssAggregator">
<tuscany:binding.atom
uri="http://localhost:8083/rssAggregator"/>
</service>
<service name="atomSample" promote="AtomAggregator">
<tuscany:binding.atom
uri="http://localhost:8083/atomAggregator"/>
</service>
>
> These services are not declared in the component stanzas and I don?t see
> an [EMAIL PROTECTED] in the AggregatorImpl.java.
> 1.How do these lines get wired to the java file?
> 2.What method to they call?
> 3.How is it that they talk to code out side of the domain without a
> [EMAIL PROTECTED] annotation.
>
Hi Willis,
I am not the most knowledgeable in this area, so I welcome follow-on,
more complete answers, but I believe the promote tag elevates the
following component elements to an public declared service.
The browser recognizes the feed types and is responsible for calling the
getFeed and getEntry on the binding collection interface, and this
performing the calls on the public service methods (implemented in
AggregatorImpl.java).
--
Thanks, Dan Becker