henrykuijpers commented on a change in pull request #46:
URL:
https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/46#discussion_r644635245
##########
File path:
src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryConfig.java
##########
@@ -112,11 +112,6 @@
"the ResourceResolver mapping. The default value is
/etc/map.")
String resource_resolver_map_location() default
MapEntries.DEFAULT_MAP_ROOT;
- @AttributeDefinition(name = "Mapping Observation",
Review comment:
The mapping observation configuration setting is used to register the
`ResourceChangeListener`, so that the `MapEntries` will be notified of changes
that it is interested in. In AEM, it is set to `/`.
However, given the various configurations that exist, it is easy to compute
the right paths to use. (That is also changed in the part where the listener is
registered.)
There are also some fallbacks in there to listen to `/` anyway, if that is
required.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]