You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Luciano Resende <lu...@gmail.com> on 2007/04/13 21:50:30 UTC

Getting a reference to contributionServices inside an Integration Test

The simpleRuntime gives you the ability to retrieve SystemServices, but
actually contributionService is not being registered as a systemService.
What should be the right way to retrieve a contributionService in a
Integration Test ? Should I be reusing the available contributionService
that was created during bootstrap of the runtime, or it's best I just create
a new contributionService locally to the integration test ?

-- 
Luciano Resende
http://people.apache.org/~lresende

Re: Getting a reference to contributionServices inside an Integration Test

Posted by Raymond Feng <en...@gmail.com>.
Hi,

I think we're now moving to a direction to use ExtensionPointRegistry to 
register the extension points (ContributionService is a special extension 
point). I can fix the simple runtime to look up the instance by interface.

Thanks,
Raymond

----- Original Message ----- 
From: "Luciano Resende" <lu...@gmail.com>
To: "tuscany-dev" <tu...@ws.apache.org>
Sent: Friday, April 13, 2007 12:50 PM
Subject: Getting a reference to contributionServices inside an Integration 
Test


> The simpleRuntime gives you the ability to retrieve SystemServices, but
> actually contributionService is not being registered as a systemService.
> What should be the right way to retrieve a contributionService in a
> Integration Test ? Should I be reusing the available contributionService
> that was created during bootstrap of the runtime, or it's best I just 
> create
> a new contributionService locally to the integration test ?
>
> -- 
> Luciano Resende
> http://people.apache.org/~lresende
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org