This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git
The following commit(s) were added to refs/heads/master by this push:
new 8262ef351 clarify differences between the two adapter annotations
8262ef351 is described below
commit 8262ef35101dc41e5f0be179938a0bacc2755ff8
Author: Konrad Windszus <[email protected]>
AuthorDate: Mon Aug 8 09:08:55 2022 +0200
clarify differences between the two adapter annotations
fix links
---
src/main/jbake/content/documentation/the-sling-engine/adapters.md | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/main/jbake/content/documentation/the-sling-engine/adapters.md
b/src/main/jbake/content/documentation/the-sling-engine/adapters.md
index 22ebdfc2f..c896217d6 100644
--- a/src/main/jbake/content/documentation/the-sling-engine/adapters.md
+++ b/src/main/jbake/content/documentation/the-sling-engine/adapters.md
@@ -75,11 +75,9 @@ For example
## Adapter Annotations
-> TODO this section needs to be updated for the new
-[sling-org-apache-sling-adapter-annotations](https://github.com/apache/sling-org-apache-sling-adapter-annotations)
module,
-see [SLING-9890](https://issues.apache.org/jira/browse/SLING-9890)
+The [Adapter Annotations](https://github.com/apache/sling-adapter-annotations)
provide OSGi DS 1.4 component property types that ease implementing `Adaptable`
services.
-Instead of manually creating the JSON file described in the previous section,
the annotations from the module
[adapter-annotations](https://svn.apache.org/viewvc/sling/trunk/tooling/maven/adapter-annotations/)
can be used together with the goal `generate-adapter-metadata` from the
[Maven Sling
Plugin](http://sling.apache.org/components/sling-maven-plugin/generate-adapter-metadata-mojo.html)
to generate it automatically
([SLING-2313](https://issues.apache.org/jira/browse/SLING-2313)).
+For adaptable implementations not provided by a dedicated OSGi service
implementing `Adaptable` you should consider creating the JSON file described
in the previous section with the help of the annotations from the module
[Adapter Annotations
(JSON)](https://github.com/apache/sling-adapter-annotations) which are
evaluated by goal `generate-adapter-metadata` from the [Maven Sling
Plugin](http://sling.apache.org/components/sling-maven-plugin/generate-adapter-metadata-mojo.html)
([SLING-231 [...]
# Extending Adapters