[
https://issues.apache.org/jira/browse/SLING-6123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15557979#comment-15557979
]
Carsten Ziegeler commented on SLING-6123:
-----------------------------------------
We can add a new type ResourceChangeList which extends List<ResourceChange>
Unfortunately we can't simply change the onChange method as this would not be
source compatible
However, we can document that the passed in list is of type ResourceChangeList,
not as nice, but still good enough
> Pass additional information like the search path to the listeners
> -----------------------------------------------------------------
>
> Key: SLING-6123
> URL: https://issues.apache.org/jira/browse/SLING-6123
> Project: Sling
> Issue Type: Sub-task
> Components: API, ResourceResolver
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: API 2.15.0, Resource Resolver 1.4.20
>
>
> Some listeners registers themselve with the special token "." for the search
> paths, however when they process the event, they have no clue about the
> search path and it's ordering.
> We could pass the search path as an additional information to the resource
> change listener
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)