Support adapted bind/unbind method signature
--------------------------------------------

                 Key: FELIX-3069
                 URL: https://issues.apache.org/jira/browse/FELIX-3069
             Project: Felix
          Issue Type: New Feature
          Components: iPOJO
            Reporter: Guillaume Sauthier
            Priority: Minor


iPOJO already supports some basic bind/unbind methods signature (notification 
only, gives the service, with ServiceRef or not, with a Map or not).

I would like to be able to have the service + any additional service property 
I'm interested in.
Something like the following code:
{noformat}
public void bindAdapter(XmlAdapter adapter,
                        @Extract("namespace-uri")) uri) {
}
{norformat}

With @Extract (better name to be found) extracting the "namespace-uri" service 
property from the ServiceReference and giving it to this method.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to