Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 070CC108E0 for ; Fri, 20 Feb 2015 10:11:12 +0000 (UTC) Received: (qmail 9524 invoked by uid 500); 20 Feb 2015 10:11:11 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 9495 invoked by uid 500); 20 Feb 2015 10:11:11 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 9483 invoked by uid 99); 20 Feb 2015 10:11:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Feb 2015 10:11:11 +0000 Date: Fri, 20 Feb 2015 10:11:11 +0000 (UTC) From: "Guillaume Nodet (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (KARAF-3469) It should be possible to create a reference to an optional service from a command 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-3469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillaume Nodet updated KARAF-3469: ----------------------------------- Affects Version/s: 4.0.0.M1 > It should be possible to create a reference to an optional service from a command > --------------------------------------------------------------------------------- > > Key: KARAF-3469 > URL: https://issues.apache.org/jira/browse/KARAF-3469 > Project: Karaf > Issue Type: Improvement > Affects Versions: 4.0.0.M1 > Reporter: Christian Schneider > > To inject services into commands you use the @org.apache.karaf.shell.api.action.lifecycle.Reference annotation. Unlike the one from DS this annotation does not have an optional flag. > We should allow to reference optional services and have them injected with null if they are not present. -- This message was sent by Atlassian JIRA (v6.3.4#6332)