[
https://issues.apache.org/jira/browse/SLING-12076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17772220#comment-17772220
]
Carsten Ziegeler commented on SLING-12076:
------------------------------------------
What is the use case here? I'm not entirely sure, but events might be
"repackaged" in the resource resolver implementation. Carrying around a lot of
baggage which is in most cases not needed is probably not a good idea
> ResourceListener should expose the JCR observation's user data
> --------------------------------------------------------------
>
> Key: SLING-12076
> URL: https://issues.apache.org/jira/browse/SLING-12076
> Project: Sling
> Issue Type: Improvement
> Reporter: Konrad Windszus
> Priority: Major
>
> The ResourceChange
> (https://github.com/apache/sling-org-apache-sling-api/blob/f58111baf07b6ae525aec2c6792e949786df7beb/src/main/java/org/apache/sling/api/resource/observation/ResourceChange.java#L50)
> should optionally expose a context (arbitrary String). In the case of the
> JCR Resource Provider this should be populated by the JCR Event's User Data
> (https://developer.adobe.com/experience-manager/reference-materials/spec/jcr/2.0/12_Observation.html#12.3.5%20User%20Data).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)