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-153) support injection of other kinds of collections for arguments / options
Date Thu, 27 Jan 2011 07:36:43 GMT

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

Guillaume Nodet updated KARAF-153:
----------------------------------

    Fix Version/s:     (was: 2.2.0)

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