Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [equinox-dev] querying the state of declarative services.

You could query each bundle to get its registered services.
* bundle.getRegisteredServices()


The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.

From: equinox-dev-bounces@xxxxxxxxxxx [mailto:equinox-dev-bounces@xxxxxxxxxxx] On Behalf Of Stoyan Boshev
Sent: Wednesday, January 14, 2009 6:47 AM
To: Equinox development mailing list
Subject: Re: [equinox-dev] querying the state of declarative services.



Fredrik Alströmer wrote:
> Hi,
> 
> is there any API in the Equinox implementation of declarative services
> which can be used to query the current state? With state I mean, which
> are the services known to the SCR, and of those which are not active,
> which are not satisfied, and of those which are not satisfied, why are
> they not?
> 
Currently there is no API for doing that.

> If there's no such API, is there a bug report related to this? (A
> quick search revealed two bugs, enhancements, total concerning
> declarative services). I'm asking because currently, it's not very
> convenient to find out why a service isn't active, or even if it is
> active. Turning on debugging and wading through the slightly cryptic
> log messages is, although certainly possible in small scale, not
> really feasible.
There is no API, but there are console commands that you could use for 
the purpose you describe.

> 
> Any help / comments would be greatly appreciated.
> 
> Thanks,
> Fredrik.
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/equinox-dev
> 
> 

-- 
---------------------------------------------------------
dipl. eng. Stoyan Boshev . Department manager
ProSyst Labs EOOD
1606 Sofia, Bulgaria . 48 Vladajska Str.
Tel. +359 2 953 05 88; Fax +359 2 953 26 17
Mobile: +359 88 898 29 17
http://www.prosyst.com . s.boshev@xxxxxxxxxxx
---------------------------------------------------------
stay in touch with your product
---------------------------------------------------------
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Back to the top