[ 
https://issues.apache.org/jira/browse/SLING-1463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler closed SLING-1463.
-----------------------------------

    
> Rewrite MapEntries to be a OSGi EventHandler instead of a JCR EventListener
> ---------------------------------------------------------------------------
>
>                 Key: SLING-1463
>                 URL: https://issues.apache.org/jira/browse/SLING-1463
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR Resource 2.0.6
>            Reporter: Vidar S. Ramdal
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Resource 2.1.0
>
>         Attachments: SLING1463.patch
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> o.a.s.jcr.resource.internal.helper.MapEntries is responsible for holding a 
> map of domain mappings. The map is created by scanning resources found under 
> /etc/map.
> Currently, the scanning is triggered when a JCR node under /etc/map is 
> modified, as MapEntries implements javax.jcr.observation.EventListener. 
> To support resources other than JCR nodes for domain map specifications, 
> MapEntries should instead listen for OSGi resource events sent through 
> EventAdmin - thus implement org.osgi.service.event.Event instead of 
> javax.jcr.observation.EventListener.
> As MapEntries already uses the Resource API (not the JCR API) to examine the 
> /etc/map tree, this task should not be too hard.
> Mailinglist discussion: http://markmail.org/message/tuckengyhs3lyhlf

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to