Re: List available and registered services

2009-10-04 Thread Vlatko Davidovski
I see. Yes, this should work. Thanks! Vlatko On Oct 4, 2009, at 10:02 PM, Guo Du wrote: On Sun, Oct 4, 2009 at 8:37 PM, Vlatko Davidovski > wrote: Or, should I use ServiceTrackerCustomizer in such a case? Regards, Vlatko You may also register a org.osgi.framework.ServiceListener from aparat

Re: List available and registered services

2009-10-04 Thread Guo Du
On Sun, Oct 4, 2009 at 8:37 PM, Vlatko Davidovski wrote: > Or, should I use ServiceTrackerCustomizer in such a case? > > Regards, > Vlatko You may also register a org.osgi.framework.ServiceListener from aparat-registry to take action on ServiceEvent.REGISTERED for your service interface. -Guo -

Re: List available and registered services

2009-10-04 Thread Vlatko Davidovski
Or, should I use ServiceTrackerCustomizer in such a case? Regards, Vlatko On Oct 4, 2009, at 9:31 PM, Vlatko Davidovski wrote: Thanks for your response Richard. Basically here is a description of what I want to achieve. I am developing a OSGi based web gateway for sensors and other devices.

Re: List available and registered services

2009-10-04 Thread Vlatko Davidovski
Thanks for your response Richard. Basically here is a description of what I want to achieve. I am developing a OSGi based web gateway for sensors and other devices. For this purpose, I have the following modules: 1. aparat-core - main library, OSGi-zed. This one can be used separately for ot

Re: List available and registered services

2009-10-04 Thread Richard S. Hall
On 10/4/09 19:06, Vlatko Davidovski wrote: Thanks Filippo! This was helpful! And would be not great to update the Wikipedia article, as many people might look into it. It is bad enough having to maintain our own documentation, but ok, I did it. :-) One more question, is there an easy way t

Re: List available and registered services

2009-10-04 Thread Vlatko Davidovski
Thanks Filippo! This was helpful! And would be not great to update the Wikipedia article, as many people might look into it. One more question, is there an easy way to indicate the order in which the bundles are loaded? BR, Vlatko On Oct 4, 2009, at 7:00 PM, Filippo Diotalevi wrote: On Su

Re: List available and registered services

2009-10-04 Thread Filippo Diotalevi
On Sun, Oct 4, 2009 at 6:48 PM, Vlatko Davidovski wrote: > Hi! > > A simple question, how can I list the available and registered services in > Apache Felix 2.0. Hi, since Felix Shell 1.4 (shipped with the Felix 2.0.0 distribution) the "service" command has been replaced by the "inspect" comman

List available and registered services

2009-10-04 Thread Vlatko Davidovski
Hi! A simple question, how can I list the available and registered services in Apache Felix 2.0. By default, the command (as mentioned on http://en.wikipedia.org/wiki/Apache_Felix) : services [-u] [-a] [ ...] is not available? Thanks! Vlatko -