Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Tracking of multiple services
Tracking of multiple services [message #98255] Tue, 25 September 2007 17:17 Go to next message
Eclipse UserFriend
Originally posted by: lars.dont_spam.se

Hi,

The solution we are working on has a set of core services (logging,
config-handling etc) that must have been registered / started
prior to most of the other services. Each of the core services are contained
within their only bundle.

The quick approach was to make sure that the start order of the bundles was
set accordingly. But we want to explore the possibility
to make this dynamic, so ServiceTracker seams to be one way forward.

I was thinking of having one bundle that simply installs servicetracking for
each of the core services. When all services have been
registered this bundle registers and starts a semaphore service. All of our
other bundles will then only have to perform service tracking
of this semaphore service (since the precesens of the semaphore indicates
that all core services are registered).

Is this a good design or is there any better solution?

BR

Lars
Re: Tracking of multiple services [message #98303 is a reply to message #98255] Wed, 26 September 2007 03:11 Go to previous message
Thomas Watson is currently offline Thomas WatsonFriend
Messages: 503
Registered: July 2009
Senior Member
You should have a look at the OHF project (http://www.eclipse.org/ohf/)
and SAT/soda stuff in particular. I think the SAT programming model
addresses some of the things you are trying to achieve with OSGi services.

HTH.

Tom.
Previous Topic:JSP examples problem
Next Topic:Classloading differences between eclipse and standalone Equinox
Goto Forum:
  


Current Time: Thu Apr 25 13:20:02 GMT 2024

Powered by FUDForum. Page generated in 0.02919 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top