Skip to main content



      Home
Home » Eclipse Projects » Equinox » Change service implementation at runtime
Change service implementation at runtime [message #1066165] Mon, 01 July 2013 06:24 Go to next message
Eclipse UserFriend
Hello,

I'm working on an Equinox based desktop application (using eclipse 4) and I need to offer the user to chose the implementation for a given service (through a configuration UI for instance).

I already have the services interface in one bundle, and 2 other bundles with the other implementations. (For instance a distant connection, one using bluetooth link and the other an USB wire)

If possible, this would be defined in a file, and the system will read the file to determine which bundle to active.
Any idea of how I could achieve that ? It doesn't matter if the user has to restart the application or not.
Re: Change service implementation at runtime [message #1090467 is a reply to message #1066165] Tue, 20 August 2013 03:07 Go to previous messageGo to next message
Eclipse UserFriend
Up ?
Re: Change service implementation at runtime [message #1100491 is a reply to message #1090467] Tue, 03 September 2013 03:19 Go to previous message
Eclipse UserFriend
Potentially a job for the Wire Admin Service, for which equinox has an implementation - chckout the OSGI Compendium Spec.
Previous Topic:equinox servlet bridge and Kepler
Next Topic:How to set the maximum threads of a SimpleArtifactRepository
Goto Forum:
  


Current Time: Mon Jul 14 11:03:18 EDT 2025

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

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

Back to the top