Return-Path: Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: (qmail 25032 invoked from network); 14 Sep 2010 18:02:11 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Sep 2010 18:02:11 -0000 Received: (qmail 41745 invoked by uid 500); 14 Sep 2010 18:02:11 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 41719 invoked by uid 500); 14 Sep 2010 18:02:10 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 41711 invoked by uid 99); 14 Sep 2010 18:02:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 18:02:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Sep 2010 18:02:10 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8EI1nqA021263 for ; Tue, 14 Sep 2010 18:01:50 GMT Message-ID: <17092871.184861284487309924.JavaMail.jira@thor> Date: Tue, 14 Sep 2010 14:01:49 -0400 (EDT) From: "Jamie goodyear (JIRA)" To: issues@karaf.apache.org Subject: [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 In-Reply-To: <33103771.528361282645824143.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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.