[sip-comm-dev] application-wide getProtocolProviders()?


#1

Hi,

Is there a way for any service/plugin to get all currently in use
(connected or disconnected) SipProtocolProviderS? I see that the GUI
service has a getProtocolProviders() method for its internal use but
is there such a method accessible application-widely?

Cheers,

···

--
Sébastien Mazy


#2

Hello Seb,

Yes, they are all registered as OSGi services and you can retrieve them
through a bundle context. This is also what the UI bundle does inside
its utility getProtocolProviders() method.

Cheers
Emil

Sébastien Mazy написа:

···

Hi,

Is there a way for any service/plugin to get all currently in use
(connected or disconnected) SipProtocolProviderS? I see that the GUI
service has a getProtocolProviders() method for its internal use but
is there such a method accessible application-widely?

Cheers,

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

Hi Emil,

···

On Sat, Aug 30, 2008 at 12:11 AM, Emil Ivov <emcho@sip-communicator.org> wrote:

Yes, they are all registered as OSGi services and you can retrieve them
through a bundle context. This is also what the UI bundle does inside
its utility getProtocolProviders() method.

My bad :confused: I should have the OSGi reflex...

Thanks!

--
Sébastien Mazy