Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
scr-1.2.0
-
None
Description
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.