Closed ops4j-issues closed 12 years ago
Harald Wellmann commented
We should also think about introducing an AsynchronousBundleWatcher handling both register and unregister events asynchronously. I'm not sure whether the mixed behaviour of BundleWatcher is intentional or accidental.
But this will be a separate issue.
Harald Wellmann commented
Added org.ops4j.pax.swissbox.extender.SynchronousBundleWatcher<T>.
Harald Wellmann created PAXSB-58
BundleWatcher was orginally designed to work synchronously, it still uses a SynchronousBundleListener.
However, since PAXSB-41 , the SynchronousBundleListener delegates all register events to an Executor, while unregister events are still handled synchronously.
For use cases where a fully synchronous listener is required, a new SynchronousBundleWatcher should do the job.
Affects: 1.5.0 Fixed in: 1.5.1 Votes: 0, Watches: 0