On Jul 15, 2011 8:28 AM, "Sebastian Weber" <[email protected]> wrote: > > Hi All, > > Im trying to get a Information about a Framework Stop. First, I tried to catch the FrameworkEvent "STOPPED": > " This event is fired when the Framework has been stopped > because of a stop operation on the system bundle. > The source of this event is the System Bundle. " > > But how I can catch a event when all other Bundles expact the SystemBundle are stopped? > > The FrameworkEvent "STARTED" I get over my FrameworkListener but not the "STOPPED". > > How I can get this "STOPPED" Event or is there a other way to get the Information about a Framework stop? (Not just a Bundle Stop!)
You can't, as you have guessed. You can only know that the framework stopped extrenault by calling Framework.waitForStop(). –> richard > > Thanks a lot! > > Sebastian > > -- > ------------------------------------------------------- > > Sebastian Weber, M.Sc. > Forschungsgruppe Verkehrstelematik > - Research Team Intelligent Transportation Systems > Fakultät für Ingenieurwissenschaften > - School of Engineering > Hochschule für Technik und Wirtschaft des Saarlandes (HTW) > - University of Applied Sciences > HTZ Hochschul-Technologie-Zentrum > Altenkesseler Strasse 17/D2 > 66115 Saarbruecken > > Room: 81 > Tel: +49 681 5867-663 > Fax: +49 681 5867-671 > E-Mail: [email protected] > URL: http://www.htw-saarland.de > > > ----------------------------------------- > > _______________________________________________ > OSGi Developer Mail List > [email protected] > https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
