Re: Help in Bundle and Blueprint listener

2018-03-14 Thread sathish_alwar
Hi, Thanks both for your prompt responses. We will explore both start level and prerequisite option to have listener bundle start before other bundles. Thanks -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: Help in Bundle and Blueprint listener

2018-03-13 Thread Guillaume Nodet
2018-03-13 18:36 GMT+01:00 sathish_alwar : > Hi, > > We are using Karaf-4 and we have several bundles (say 100) getting started > as part of our feature. We are using Bundle and Blueprint listener to > monitor the status of each and every bundle. Since all bundles are

Re: Help in Bundle and Blueprint listener

2018-03-13 Thread Jean-Baptiste Onofré
Hi, generally speaking, if you have to do such action, it's not good ;) Anyway, two things: 1. You can retrieve all bundles state using the bundleContext (so the framework) anytime 2. You can register a BundleListener (or FrameworkBundleListener) to be notify when a bundle state changes. If

Help in Bundle and Blueprint listener

2018-03-13 Thread sathish_alwar
Hi, We are using Karaf-4 and we have several bundles (say 100) getting started as part of our feature. We are using Bundle and Blueprint listener to monitor the status of each and every bundle. Since all bundles are started simultaneously we guess the bundle in which we have registered listeners