[
https://issues.apache.org/jira/browse/KARAF-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909358#action_12909358
]
Jamie goodyear commented on KARAF-154:
--------------------------------------
Hi James, any update on this issue? We're discussing cutting a Karaf 2.1.0
release soon and I'd like to know if this issue may be worked on / resolved
soon, otherwise we may push this one out to 2.2.0. Thanks :)
> allow @Command objects to implement Runnable - or have a @Run annotation on
> the method so that they don't have to extend Action to avoid runtime Karaf
> dependency
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: KARAF-154
> URL: https://issues.apache.org/jira/browse/KARAF-154
> Project: Karaf
> Issue Type: Improvement
> Components: console
> Reporter: james strachan
> Fix For: 2.1.0
>
>
> It would be nice to be able to write commands using either the JDK's Runnable
> interface, or to use a @Run annotation (or @Execute or something) to mark the
> method which should be invoked when the command is run.
> This would mean that the only dependency on Karaf for writing commands would
> be annotations; so there would be no runtime class dependency; letting us
> embed karaf commands all over the place without folks worrying about adding
> another runtime dependency to their code
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.