[ https://issues.apache.org/jira/browse/SLING-6056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15523423#comment-15523423 ]
Stefan Egli commented on SLING-6056: ------------------------------------ [~cziegeler], [~radu.cotescu], before I dig too deep into this (and pending discussions on OAK-4581 perhaps), did you have an idea how to achieve this 1:1 mapping best? Currently there is a 1:1 mapping also between ProviderContext and ObservationReporter and JcrResourceProvider creates 1 Oak/Jcr-ResourceListener. Somewhere this 1:1 thing needs to be broken up, not sure if that can/should be done in the ProviderContext? > achieve 1:1 mapping between observation and resource change listener > -------------------------------------------------------------------- > > Key: SLING-6056 > URL: https://issues.apache.org/jira/browse/SLING-6056 > Project: Sling > Issue Type: Task > Components: ResourceResolver > Affects Versions: Resource Resolver 1.4.18 > Reporter: Stefan Egli > Assignee: Stefan Egli > Priority: Critical > Fix For: Resource Resolver 1.4.20 > > > At the moment it seems there is a 1:n mapping between 1 OakResourceListener > (and 1 BasicObservationReporter) and n ResourceChangeListeners. The idea > however is to get rid of such a bottleneck and have a 1:1 mapping (that might > or might not be in the BasicObservationReporter, that I don't know). We > should implement such a 1:1 mapping. > See [thread on dev list|http://sling.markmail.org/thread/uwhda777psgklwo6] -- This message was sent by Atlassian JIRA (v6.3.4#6332)