You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "james strachan (JIRA)" <ji...@apache.org> on 2010/08/24 12:30:24 UTC
[jira] Created: (KARAF-154) 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
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.2.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.
[jira] Updated: (KARAF-154) 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
Posted by "james strachan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
james strachan updated KARAF-154:
---------------------------------
Fix Version/s: 2.2.0
(was: 2.1.0)
Priority: Minor (was: Major)
more of a future enhancement, lets defer it
> 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
> Priority: Minor
> Fix For: 2.2.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.
[jira] Commented: (KARAF-154) 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
Posted by "james strachan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12910511#action_12910511 ]
james strachan commented on KARAF-154:
--------------------------------------
turns out this is a fairly big refactor with not that much gain (it just lets you avoid the compile time dependency on karaf console); so going to defer a while :)
> 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
> Priority: Minor
>
> 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.
[jira] Commented: (KARAF-154) 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
Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (KARAF-154) 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
Posted by "james strachan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
james strachan updated KARAF-154:
---------------------------------
Fix Version/s: (was: 2.2.0)
Priority: Trivial (was: Minor)
> 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
> Priority: Trivial
>
> 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.