karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-1001) Consistency between command annotation and blueprint
Date Thu, 24 Nov 2011 20:46:39 GMT

     [ https://issues.apache.org/jira/browse/KARAF-1001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Guillaume Nodet resolved KARAF-1001.
------------------------------------

    Resolution: Fixed
    
> Consistency between command annotation and blueprint
> ----------------------------------------------------
>
>                 Key: KARAF-1001
>                 URL: https://issues.apache.org/jira/browse/KARAF-1001
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-shell
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Guillaume Nodet
>             Fix For: 3.0.0
>
>
> Currently, if you define a command annotation like this:
> @Command(scope = "foo", name = "bar", ...)
> and load the command using blueprint, with something like:
> <command name="bar/foo">...</command>
> the blueprint <command/> will have a precedence to the @Command annotation.
> To be consistent, the @Command annotation should be the only one used, blueprint <command/>
name should be only a blueprint ID (no impact on the command itself).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message