I would like it to be so that when someone runs 'stop', some work in
progress finishes.

This would seem to require the @Deactivates to run in 'the right
order'. Presumably, the order is based on the graph of dependencies.

I'm thinking that I should create my own shutdown service and invoke
it before doing the actual Karaf shutdown.

Reply via email to