[ https://issues.apache.org/jira/browse/SLING-11516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17576596#comment-17576596 ]
Konrad Windszus commented on SLING-11516: ----------------------------------------- It is a delegation pattern being used, but the adaptation is from {{ResourceResolver}} to {{javax.jcr.Session}}, and should be listed as such in the web console plugin. > 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: Bug > Components: ResourceResolver > Affects Versions: Resource Resolver 1.9.0 > Reporter: Konrad Windszus > Priority: Major > > 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)