Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Multiple versions of bundle
Multiple versions of bundle [message #105375] Tue, 19 February 2008 13:05
Jeff Lowcock is currently offline Jeff LowcockFriend
Messages: 17
Registered: July 2009
Junior Member
I have created three bundles A_1.0.0, B_1.0.0 and B_1.0.1
A listens via a ServiceTracker for service updates. When a new service is
added A lauches a thread which uses the new B_1.0.0 service for a number
of iterations and then exits. B_1.0.1 is installed and resolved but not
started. B_1.0.1 is started only once the B.1.0.0 service has completed
its' execution loop so it seems that B_1.0.0 or A_1.0.0 holds onto the
service until completion and then the release of the service allows
B_1.0.0 to be stopped and B_1.0.1 to be started which then is detected via
the service tracker and all proceeds per the code.
However this is not the behaviour that I expected I was expecting the
newer version of the bundle to begin immediately and not have to wait
until after the initial version had completed.
The scenario is a number sessions in a server will be concurrently active
and I want to cause new sessions to use the newest version of the bundle
to acquire new functionality. I had understood the I could run more than
one version of the bundle at the same time with older sessions using the
original version and newer sessions using the new version.
Do I understand correctly and if so is there some configuration that I
need to look at to support this requirement.
Previous Topic:Swing Mac - thread issue
Next Topic:Platform.getExtensionRegistry() return null
Goto Forum:

Current Time: Wed Oct 20 09:27:01 GMT 2021

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

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

Back to the top