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 to indicate the order in which the bundles are loaded?

Well, you shouldn't do this in general, so we will all look down on you if you do it, but the only way to truly guarantee it is by assigning start levels to bundles, but still don't do it. :-)

Better off making your bundles order independent.

-> richard


BR,
Vlatko

On Oct 4, 2009, at 7:00 PM, Filippo Diotalevi wrote:

On Sun, Oct 4, 2009 at 6:48 PM, Vlatko Davidovski <[email protected]> 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" command.

To see the services exposed by a bundle, type
$ inspect service capability <bundle-id>
or in brief
$ inspect s c <bundle-id>

To see services used by a bundle, type
$ inspect service requirement <bundle-id>
or in brief
$ inspect s r <bundle-id>

You can avoid to specify the <bundle-id>, in that case you will see
services (exposed or used) by all the bundles.

--
Filippo Diotalevi

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to