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.