[ https://issues.apache.org/jira/browse/SLING-2938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17203726#comment-17203726 ]
Konrad Windszus edited comment on SLING-2938 at 9/29/20, 6:59 AM: ------------------------------------------------------------------ Thanks for your efforts [~Henry Kuijpers]. I started the git repo creation process in https://lists.apache.org/thread.html/r080147dcdb23548ee19685441762b6786a98c1ad01b1ca65d8d16acf%40%3Cdev.sling.apache.org%3E. Maybe you can also provide a PR for the documentation at https://sling.apache.org/documentation/the-sling-engine/adapters.html which is maintained at https://github.com/apache/sling-site/blob/master/src/main/jbake/content/documentation/the-sling-engine/adapters.md. was (Author: kwin): Thanks for your efforts [~Henry Kuijpers]. I started the git repo creation process in https://lists.apache.org/thread.html/r080147dcdb23548ee19685441762b6786a98c1ad01b1ca65d8d16acf%40%3Cdev.sling.apache.org%3E. > AdapterMethods annotation and adapter proxy service > --------------------------------------------------- > > Key: SLING-2938 > URL: https://issues.apache.org/jira/browse/SLING-2938 > Project: Sling > Issue Type: Bug > Components: Engine, Extensions > Affects Versions: Adapter 2.1.0 > Reporter: Bertrand Delacretaz > Priority: Minor > Attachments: SLING-2938-api.patch, console.jpg > > > Following up on an idea that Olaf Otto presented at CQCon last week, I've > been working on an @AdapterMethod annotation that makes it easier to create > Sling adapters, as in > @Component > @Service > public class MyAdapters implements AdapterMethodProvider { > @AdapterMethod > public Bar toBar(Foo f) { ... adapt Foo to Bar ... } > } > As this requires changes to the sling.api bundle, I'll commit to my > whiteboard first, for review -- This message was sent by Atlassian Jira (v8.3.4#803005)