Yes, the codes seems does so. But it's rather strange to access a service not by 'service name' exposed by compoiste, but by directly accessing component nested in a composite.
----- Original Message ----- From: "Simon Laws" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, May 25, 2007 10:03 PM Subject: Re: (SCA)How can get the service by composite service name > Hi Tony, > > I'm assuming you are using the sample CalculatorClient style code try to > access the service, i.e. the part that uses the scaDomain to get a local > reference to a component service. > > CalculatorService calculatorService = > scaDomain.getService(CalculatorService.class, > "CalculatorServiceComponent"); > > I just took a look at the code and currently the code behind this method > only looks at the components available in the domain composite when looking > for the named service, i.e. It's looking for a component and a service it > provides rather than a composite service that refers to a component service. > The term service is a little confusing in this regard in my opinion. > > Regards > > Simon >
