Konrad Windszus created SLING-11516:
---------------------------------------

             Summary: Generate adapter metadata json for adaptations natively 
supported by ResourceResolverImpl
                 Key: SLING-11516
                 URL: https://issues.apache.org/jira/browse/SLING-11516
             Project: Sling
          Issue Type: Improvement
          Components: ResourceResolver
    Affects Versions: Resource Resolver 1.9.0
            Reporter: Konrad Windszus


Currently the Felix Web Console plugin at {{/system/console/adapters}} doesn't 
expose the adaptation from {{ResourceResolver}} to {{javax.jcr.Session}} and 
{{ResourceMapper}} as both are not leveraging the AdapterFactory SPI but rather 
implement this directly in the {{adaptTo}} method 
(https://github.com/apache/sling-org-apache-sling-resourceresolver/blob/b2ae3d5685d76498d353465c63e739b8745cf314/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverImpl.java#L648-L654).
 The annotations processed by 
https://github.com/apache/sling-adapter-annotations should be used to generate 
an according metadata JSON file which is evaluated by the Felix Web Console 
plugin.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to