[
https://issues.apache.org/jira/browse/KARAF-7138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré reassigned KARAF-7138:
-------------------------------------------
Assignee: Jean-Baptiste Onofré
> 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
> Assignee: Jean-Baptiste Onofré
> Priority: Major
>
> 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)