You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Peter Kriens (JIRA)" <ji...@apache.org> on 2017/03/10 18:43:04 UTC
[jira] [Created] (FELIX-5586) Gogo runtime overloads the addCommand
in the wrong way
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)