[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.stp.sca-tools] Re: help:cant get gallileo eclipse STP tuscany v1 or v2 m3 working

From my point of view, this is not a problem that comes from the SCA specifications. I think that the getService method provided by Tuscany has a bug.
getService(HelloWorld.class, "HelloWorld") should work if HelloWorld is promoted in the composite.
Better to ask directly to the Tuscany community.


Stephane Drapeau
Obeo


William Woodman a Ãcrit :
Stephanie thanks for that seems a bit weird but it worked this time .

query really on hiding the details. by having to specify domain.getService(HelloWorld.class, "HelloWorldComponent/HelloWorld")

the client has to understand which component in the composite offers the service - and that should surely be explicit from the service defn on the composite and the promotion/wiring details in the scdl file. whys does a client have to know the component - when all they are transacting is with the retuerned service (a interface proxy)
seems weird - is there a good reason for this in the SCA specs?


however thanks for getting me started - it was beginningt to drive me not so slowly nuts
Will :p