You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2011/01/28 15:37:47 UTC
[jira] Created: (SLING-1960) Adapter manager should handle several
factories for the same adaptable/adapter combo
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.
[jira] [Resolved] (SLING-1960) Adapter manager should handle
several factories for the same adaptable/adapter combo
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved SLING-1960.
-------------------------------------
Resolution: Fixed
Fix Version/s: Adapter 2.0.18
Assignee: Carsten Ziegeler
Solved by SLING-2630
> 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
> Assignee: Carsten Ziegeler
> Fix For: Adapter 2.0.18
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira