Hi all,

While working on KARAF-2442 (role-based security for karaf commands) I
came across a situation that I don't fully understand.

A number of command services are registered with identical properties.
For example there are 8 services registered with the following
properties:
  osgi.command.function=feature, osgi.command.scope=*
So the actual value of osgi.command.scope is an asterisk.

If I'm not mistaken, such a command defines a subshell, i.e. the
feature subshell.

There are 8 commands in the features scope, is this service registered
once for each command? Is that the intention? How does the service
consumer distinguish between 8 services with the exact same service
properties?

Thanks,

David

Reply via email to