You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2008/07/16 14:39:31 UTC
[jira] Resolved: (JCR-1672) Adding Event interface and isLocal()
[ https://issues.apache.org/jira/browse/JCR-1672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Reutegger resolved JCR-1672.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.5
Applied patch in revision: 677261
> 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: 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 cluster).
> 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.
Re: [jira] Resolved: (JCR-1672) Adding Event interface and isLocal()
Posted by Carsten Ziegeler <cz...@apache.org>.
Jukka Zitting wrote:
> Hi,
>
> On Mon, Jul 21, 2008 at 7:11 PM, Carsten Ziegeler <cz...@apache.org> wrote:
>> Marcel Reutegger wrote:
>>> our policy is to not include enhancements in patch releases, though we did
>>> not always follow that policy in the past.
>>>
>>> I'd rather include this in the next minor release because it also affects
>>> the jackrabbit api module.
>>>
>> Ok, thanks Marcel
>
> Is there time pressure on getting this feature out in a release? I'm
> back from vacation and was thinking of pushing Jackrabbit 1.5 ahead.
>
No real time pressure - but the sooner the better :) I prefer using
offical API over casting to a private impl, but that works as a
workaround :)
Carsten
--
Carsten Ziegeler
cziegeler@apache.org
Re: [jira] Resolved: (JCR-1672) Adding Event interface and isLocal()
Posted by Jukka Zitting <ju...@gmail.com>.
Hi,
On Mon, Jul 21, 2008 at 7:11 PM, Carsten Ziegeler <cz...@apache.org> wrote:
> Marcel Reutegger wrote:
>> our policy is to not include enhancements in patch releases, though we did
>> not always follow that policy in the past.
>>
>> I'd rather include this in the next minor release because it also affects
>> the jackrabbit api module.
>>
> Ok, thanks Marcel
Is there time pressure on getting this feature out in a release? I'm
back from vacation and was thinking of pushing Jackrabbit 1.5 ahead.
BR,
Jukka Zitting
Re: [jira] Resolved: (JCR-1672) Adding Event interface and isLocal()
Posted by Carsten Ziegeler <cz...@apache.org>.
Marcel Reutegger wrote:
> Hi Carsten,
>
> our policy is to not include enhancements in patch releases, though we
> did not always follow that policy in the past.
>
> I'd rather include this in the next minor release because it also
> affects the jackrabbit api module.
>
Ok, thanks Marcel
Carsten
--
Carsten Ziegeler
cziegeler@apache.org
Re: [jira] Resolved: (JCR-1672) Adding Event interface and isLocal()
Posted by Marcel Reutegger <ma...@gmx.net>.
Hi Carsten,
our policy is to not include enhancements in patch releases, though we did not
always follow that policy in the past.
I'd rather include this in the next minor release because it also affects the
jackrabbit api module.
regards
marcel
Carsten Ziegeler wrote:
> Thanks Marcel for applying the patch.
>
> Is there any chance to get this into the 1.4.x branch as well?
>
> Carsten
>
> Marcel Reutegger (JIRA) wrote:
>> [
>> https://issues.apache.org/jira/browse/JCR-1672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
>> ]
>>
>> Marcel Reutegger resolved JCR-1672.
>> -----------------------------------
>>
>> Resolution: Fixed
>> Fix Version/s: 1.5
>>
>> Applied patch in revision: 677261
>>
>>> 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: 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 cluster).
>>> 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?
>>
>
>
Re: [jira] Resolved: (JCR-1672) Adding Event interface and isLocal()
Posted by Carsten Ziegeler <cz...@apache.org>.
Thanks Marcel for applying the patch.
Is there any chance to get this into the 1.4.x branch as well?
Carsten
Marcel Reutegger (JIRA) wrote:
> [ https://issues.apache.org/jira/browse/JCR-1672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Marcel Reutegger resolved JCR-1672.
> -----------------------------------
>
> Resolution: Fixed
> Fix Version/s: 1.5
>
> Applied patch in revision: 677261
>
>> 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: 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 cluster).
>> 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?
>
--
Carsten Ziegeler
cziegeler@apache.org