Unify Method lookup
-------------------

                 Key: FELIX-1443
                 URL: https://issues.apache.org/jira/browse/FELIX-1443
             Project: Felix
          Issue Type: Improvement
          Components: Declarative Services (SCR)
    Affects Versions: scr-1.2.0
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: scr-1.2.0


Currently method lookup for activator and for bind methods is similar but 
indication of whether a method is found or not is completely different: 
(de)activator method indication is based on a sentinel method while (un)bind 
method indication is based on an internal state machine and an object 
representing the method to be looked up and called.

It would be good to unify the two approaches to get a single one. FInd details 
of method selection remain disctinct due to different requirements for method 
signatures. But maybe some coercion is also possible on that level.

Looking at the current two approaches, the new (un)bind method approach 
(provided as part of FELIX-924 by Alin Dreghiciu) with a Facade class for 
method lookup and invocation looks very promising and might be the base for 
this coercion.

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