jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1204) Redesign SPI observation
Date Tue, 06 Nov 2007 08:08:56 GMT

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

Marcel Reutegger updated JCR-1204:
----------------------------------

    Attachment: JCR-1204.patch

Moved methods related to subscriptions to the RepositoryService. This is in line with the
already existing functionality, which is all located on the service interface. Subscription
becomes a marker interface and allows an implementation to hold proprietary information about
the current state of the subscription (e.g. an svn implementation may hold the revision number
of the last change reported as events).

Unless someone objects I will adapt all modules in jackrabbit accordingly and commit the changes
later today.

> Redesign SPI observation
> ------------------------
>
>                 Key: JCR-1204
>                 URL: https://issues.apache.org/jira/browse/JCR-1204
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: SPI
>            Reporter: Marcel Reutegger
>            Priority: Minor
>         Attachments: JCR-1204.patch, JSR-1204.patch
>
>
> With the current SPI observation design it may happen that events are lost while the
filter for an event listener is changed.
> See:
> - http://www.nabble.com/SPI-observation%3A-EventFilter-lifecycle-tf4732281.html
> - http://people.apache.org/~mreutegg/spi-event/problem.png
> My proposal is to introduce a Subscription interface. See attached patch and:
> http://people.apache.org/~mreutegg/spi-event/proposal.png

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message