Question about dynamically reload bundles [message #608507] |
Wed, 01 September 2010 19:40 |
Anthony Lee Messages: 114 Registered: July 2009 |
Senior Member |
|
|
Hi,
Bundle reloaded when version changed in Spring tool suite, how to do that in a program.In which way I can tell
dm server that it need to reload this Bundle?
The requirement is : run the jobs on client side, there may be completely new job, newer version job and the time to run the job my be changed at runtime.
My plan is:
a job scheduler bundle, a par include a job implementation bundle and a job schedule configuration bundle;
When there is a new version par put into pickup, the old one will be unload and the new one will be load, the job scheduler will run the new jobs.
At this time I tried put a new version bundle to pickup directory, I found that
both bundles are active in dm server. Did I made any mistake? How to make dm server unload old and load new one? Is dm server the right choice for my requirement?
===========================================
In STS, When I set a bundle's version as a higher one, the dm server will unload the old one and reload the new one.
But when I export a higher version bundle and put it into pickup, the dm server
just load the new one and don't unload the old one. it seems dm server don't think they are the same bundle with different version. How to let dm server know they are the same one? Just like sts do.
Thanks in advance for any ideas
Anthony
|
|
|
|
Powered by
FUDForum. Page generated in 0.02821 seconds