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

Reply via email to