karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-3469) It should be possible to create a reference to an optional service from a command
Date Fri, 20 Feb 2015 10:11:11 GMT

     [ 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)

Mime
View raw message