You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Pierre De Rop (JIRA)" <ji...@apache.org> on 2015/05/04 11:52:06 UTC

[jira] [Created] (FELIX-4877) DM Annotations should detect service type using more method signatures.

Pierre De Rop created FELIX-4877:
------------------------------------

             Summary: DM Annotations should detect service type using more method signatures.
                 Key: FELIX-4877
                 URL: https://issues.apache.org/jira/browse/FELIX-4877
             Project: Felix
          Issue Type: Improvement
          Components: Dependency Manager Annotations
    Affects Versions: org.apache.felix.dependencymanager-r2
            Reporter: Pierre De Rop
            Assignee: Pierre De Rop
            Priority: Minor
             Fix For: org.apache.felix.dependencymanager-r3


When using the ServiceDependency annotation on a method, the service type is auto detected only for the following signatures:

  bind(Service)
  bind(Map, Service).

But the DM API supports more signatures and the ServiceDependency annotation should detect the service type for the following ones:

  bind(Component, ServiceReference, Service)
  bind(Component, Service)
  bind(Component, Map, Service)
  bind(ServiceReference, Service)
  bind(Service)
  bind(Service, Map)
  bind(Map, Service)
  bind(Service, Dictionary)
  bind(Dictionary, Service)




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)