karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jamie goodyear (JIRA)" <j...@apache.org>
Subject [jira] Commented: (KARAF-153) support injection of other kinds of collections for arguments / options
Date Tue, 14 Sep 2010 18:05:33 GMT

    [ https://issues.apache.org/jira/browse/KARAF-153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909364#action_12909364
] 

Jamie goodyear commented on KARAF-153:
--------------------------------------

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

> support injection of other kinds of collections for arguments / options
> -----------------------------------------------------------------------
>
>                 Key: KARAF-153
>                 URL: https://issues.apache.org/jira/browse/KARAF-153
>             Project: Karaf
>          Issue Type: Improvement
>          Components: console
>            Reporter: james strachan
>            Priority: Trivial
>             Fix For: 2.1.0
>
>
> in some other languages and frameworks different collection types are used. For example,
in Scala its preferable to use scala.collection.List for collections rather than java.util.List.

> So it would be awesome to be able to handle type conversion on collections of injection
values. e.g.
> {code:scala}
> // this is Scala code
> @Command(name = "foo", description = "whatever")
> class FooCommand extends Action {
>   @Argument(description = "whatnot")
>   var args: List[String] = _
>    ..
> }
> {code}
> where args will be of type scala.collection.List but basically be equivalent to java.util.List
semantically
>   

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message