>> Vidar Ramdal wrote >>> Currently o.a.s.jcr.resource.internal.helper.MapEntries (which >>> maintain domain mappings) is a javax.jcr.observation.EventListener. >>> When an event occur somewhere in the /etc/map tree, the MapEntries map >>> is updated. >>> >>> In my project I need to provide domain mappings under /etc/map as >>> non-JCR resources. MapEntries uses the Resource API to iterate through >>> the resources under /etc/map, so it is quite easy to use resources >>> instead of nodes to specify domain mappings. >>> Except for one thing: MapEntries is only updated on a JCR event, so I >>> currently need to fire that manually when one of my resources has >>> changed. >>> >>> Does it make sense to rewrite MapEntries to be a OSGi EventHandler instead?
>On Wed, Mar 24, 2010 at 10:32 AM, Carsten Ziegeler <[email protected]> >wrote: >> I think it makes sense, especially as we are planning to make the >> resource resolver usable in non jcr environments. On Wed, Mar 24, 2010 at 11:10 AM, Felix Meschberger <[email protected]> wrote: > Agreed completely. Great => https://issues.apache.org/jira/browse/SLING-1463 -- Vidar S. Ramdal <[email protected]> - http://www.idium.no Sommerrogata 13-15, N-0255 Oslo, Norway + 47 22 00 84 00 / +47 21 531941, ext 2070
