This is an automated email from the ASF dual-hosted git repository.
sseifert 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 eb11261 SLING-7194 Document that AdapterManager sorts AdapterFactory
implementations lowest ranking first
eb11261 is described below
commit eb11261775a8766b2a456c62652bb9c3a0803950
Author: sseifert <[email protected]>
AuthorDate: Tue Dec 12 11:41:16 2017 +0100
SLING-7194 Document that AdapterManager sorts AdapterFactory
implementations lowest ranking first
---
src/main/jbake/content/documentation/the-sling-engine/adapters.md | 2 ++
1 file changed, 2 insertions(+)
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 143853f..e0afa5a 100644
--- a/src/main/jbake/content/documentation/the-sling-engine/adapters.md
+++ b/src/main/jbake/content/documentation/the-sling-engine/adapters.md
@@ -121,6 +121,8 @@ Implementations of this interface are registered as OSGi
services providing two
`AdapterFactory` services are gathered by a `AdapterManager` implementation
for use by consumers. Consumers should not care for `AdapterFactory` services.
+If multiple implementations for the same combination of adapter and adaptable
are registered, the implementation with the lowest service ranking wins (or
with the highest service id, if the ranking is the same).
+
## AdapterManager
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].