But a DS component could reference
org.apache.karaf.shell.api.console.Registry and register an object
(perhaps this) that implements the interface
org.apache.karaf.shell.api.console.Command.
At least it works for me in my "dynamically translate Equinox
CommandProvider commands to Karaf commands".

2016-05-05 12:39 GMT+02:00 Benson Margulies <[email protected]>:
> On Thu, May 5, 2016 at 12:56 AM, Jean-Baptiste Onofré <[email protected]> 
> wrote:
>> Short answer: no.
>
> Oh, well, conventional service lookup for moi.
>
>>
>> You can do gogo command but not karaf command.
>>
>> Regards
>> JB
>>
>>
>> On 05/04/2016 09:52 PM, Benson Margulies wrote:
>>>
>>> Can I @Component something annotated with
>>> org.apache.karaf.shell.api.action.lifecycle.Service?
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> [email protected]
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com

Reply via email to