felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hermann Angstl <hang...@talend.com>
Subject Shutdown hook functionality using a SynchronousBundleListener
Date Mon, 09 Sep 2013 11:33:55 GMT
Hi there,



I want to implement some kind of shutdown hook functionality (-> do something in case the
container shuts down).



Would it work to use a SynchronousBundleListener and listen for STOPPING events for bundle
0 (the framework)?



In case I trigger a container shutdown, does the framework first send STOPPING events to all
bundles before it actually stops them? Or are all (most) bundles already gone once bundle
0 received the STOPPING event?



cheers,

Hermann

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message