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 2010/09/01 11:46:53 UTC

[jira] Created: (SLING-1711) Move SlingAdaptable from adapter bundle to api

Move SlingAdaptable from adapter bundle to api
----------------------------------------------

                 Key: SLING-1711
                 URL: https://issues.apache.org/jira/browse/SLING-1711
             Project: Sling
          Issue Type: New Feature
          Components: API, Extensions
    Affects Versions: Adapter 2.0.6, API 2.1.0
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: API 2.1.2, Adapter 2.0.8


The SlingAdaptable - which is the default implementation for Adaptable - is current in the adapter bundle. The implementation contains some caching.
As the API should not depend on other Sling bundles, AbstractResource can't extend this implementation. In addition if one wants to use the SlingAdaptable together
with the Sling API it needs several bundles.

We can clean this up, by :
- adding SlingAdaptable to the API
- deprecate SlingAdaptable in the adapter bundle and let it extend the API version
- make AbstractResource extend the new SlingAdaptable
- move the AdapterManager code from AbstractResource to the new SlingAdaptable

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SLING-1711) Move SlingAdaptable from adapter bundle to api

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-1711.
-------------------------------------

    Resolution: Fixed

Changed as described above in revision 991494

> Move SlingAdaptable from adapter bundle to api
> ----------------------------------------------
>
>                 Key: SLING-1711
>                 URL: https://issues.apache.org/jira/browse/SLING-1711
>             Project: Sling
>          Issue Type: New Feature
>          Components: API, Extensions
>    Affects Versions: API 2.1.0, Adapter 2.0.6
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: API 2.2.0, Adapter 2.0.8
>
>
> The SlingAdaptable - which is the default implementation for Adaptable - is current in the adapter bundle. The implementation contains some caching.
> As the API should not depend on other Sling bundles, AbstractResource can't extend this implementation. In addition if one wants to use the SlingAdaptable together
> with the Sling API it needs several bundles.
> We can clean this up, by :
> - adding SlingAdaptable to the API
> - deprecate SlingAdaptable in the adapter bundle and let it extend the API version
> - make AbstractResource extend the new SlingAdaptable
> - move the AdapterManager code from AbstractResource to the new SlingAdaptable

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.