Adapter manager should handle several factories for the same adaptable/adapter
combo
------------------------------------------------------------------------------------
Key: SLING-1960
URL: https://issues.apache.org/jira/browse/SLING-1960
Project: Sling
Issue Type: Improvement
Components: Extensions
Affects Versions: Adapter 2.0.8
Reporter: Carsten Ziegeler
Currently the adapter manager only takes the first adapter factory providing a
adaptable/adapter combo. However, it could be that there are several where only
one of them is really able to provide an adaption.
This could be solved by using a ProxyAdapterFactory which delegates to all
factories one after the other until one returns a result. The factories will be
sorted by service ranking, highest is asked first.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.