Peter Kriens created FELIX-5586:
-----------------------------------

             Summary: Gogo runtime overloads the addCommand in the wrong way
                 Key: FELIX-5586
                 URL: https://issues.apache.org/jira/browse/FELIX-5586
             Project: Felix
          Issue Type: Bug
            Reporter: Peter Kriens
            Priority: Minor


The addCommand(scope,target) is very uncomfortable to use with a class. It is 
extremely useful to add all static methods of a class as commands. However, due 
to the overloading one cannot call the proper method. The consequence is that 
you need to load the class through a bundle which is yucky.

Easiest to add an addStatic method that that takes (String scope, Class target).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to