[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [equinox-dev] Calling Equinox close command by code
- From: Neil Bartlett <njbartlett@xxxxxxxxx>
- Date: Wed, 28 Apr 2010 17:09:48 +0100
- Delivered-to: email@example.com
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Dx8St1f7aZ2v9tsqQiGUrm3v7lFU/d5RXcE3yPfFbEx1OBe9gjRE91CA8sZQW48znP EFokD4JlOx0bYvTnF6GcC5wVRJoPNX/a2X4YTxO1lXiYiSB2wBrLtEaZgHJgJuJvjqWa I96+NHLhrIM3nnB9p7vWfCFTmrxg0QoqI9A1I=
The way to shutdown the OSGi framework is to obtain the system bundle
(id zero) and call stop():
This will work across all frameworks, not just Equinox.
On a meta note to the list... can we get this question and answer into
a FAQ somewhere? It seems to get asked every few weeks!
On Wed, Apr 28, 2010 at 5:05 PM, David Conde <dconde@xxxxxxxx> wrote:
> Is there any way to call the âcloseâ command by programming?
> I need something to call close command from my Visual User Interface in
> order to close the application though a button.
> Thank you in advance
> equinox-dev mailing list