Sascha Vogt created KARAF-7138:
----------------------------------
Summary: Delayed command registration for independant Commands
Key: KARAF-7138
URL: https://issues.apache.org/jira/browse/KARAF-7138
Project: Karaf
Issue Type: Improvement
Components: karaf
Reporter: Sascha Vogt
If a single bundle contains multiple independant Karaf commands, they will only
be registered if all of the commands are satisfied in terms of their
requirements (@References)
If you want to "provide" different commands based on certain other services
being there or not, that means currently you must split those into different
bundles.
As one example we have some internal developer only commands which we want to
only show to developers running in house. We have a marker OSGi service which
is only active when you're inhouse, and it would now be easy to just @Reference
that service and have to command then only be available in-house.
But this currently prevents all the other "regular" commands to be active
--
This message was sent by Atlassian Jira
(v8.3.4#803005)