jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandru Popescu ☀" <the.mindstorm.mailingl...@gmail.com>
Subject Re: Getting Version History after the node is deleted
Date Tue, 10 Apr 2007 20:13:33 GMT
On 4/10/07, Jukka Zitting <jukka.zitting@gmail.com> wrote:
> Hi,
>
> On 4/10/07, Sudhan <s.kanade@gmail.com> wrote:
> > When i tried this, i am getting :
> >
> > Error :  java.lang.ClassCastException:
> > org.apache.jackrabbit.rmi.observation.ClientEventPoll$JCREvent
> >
> > when performing casting operation as
> > (org.apache.jackrabbit.core.observation.EventImpl)event
> >
> > is there any thing i am doing wrong here. let me know.
>
> Casting the event to EventImpl only works when you're using a local
> Jackrabbit instance, not when using Jackrabbit remotely over the RMI
> layer.
>
> What's your use case for wanting to get the version history of a removed node?
>

On a more theoretical level: isn't this a limitation of the spec? By
the time you remove the event the path information attached to the
event is quite useless, so the mechanism should try to publish more
usefull information.

bests,

./alex
--
.w( the_mindstorm )p.
_____________________________________
  Alexandru Popescu, OSS Evangelist
TestNG/Groovy/AspectJ/WebWork/more...
  Information Queue ~ www.InfoQ.com

> BR,
>
> Jukka Zitting
>

Mime
View raw message