jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-1672) Adding Event interface and isLocal()
Date Fri, 25 Jul 2008 12:27:31 GMT

    [ https://issues.apache.org/jira/browse/JCR-1672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616876#action_12616876

Jukka Zitting commented on JCR-1672:

Thanks! Patch applied in revision 679735.

In revision 679741 I renamed the interface to JackrabbitEvent for consistency with the previous
JackrabbitSomething naming pattern for Jackrabbit-specific extensions.

About the naming of the method, IMHO isExternal() is still semantically a bit too close (the
logical opposite) to the "local" flag in listener registration. How about isClusterLocal()?

> Adding Event interface and isLocal()
> ------------------------------------
>                 Key: JCR-1672
>                 URL: https://issues.apache.org/jira/browse/JCR-1672
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-api, jackrabbit-core
>    Affects Versions: 1.4
>            Reporter: Carsten Ziegeler
>             Fix For: 1.5
>         Attachments: jackrabbit.patch, localeventlistener.patch
> when a repository cluster is used, it seems that a common problem many people have is
to detect if an observation event is send because of changes on the local instance or a remote
instance of the cluster.
> This is especially important if you want to do post processing of data
> based on observation (the post processing should only be done by one instance in the
> A current solution is to cast the jcr event object to the EventImpl of jackrabbit core
which is obviously not a nice solution :)
> So what about adding an event interface to jackrabbit api which extends the jcr event
interface and adds the isLocal() method? 

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

View raw message