> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Edelson, Justin > Sent: 01 November 2006 20:25 > To: dom4j-dev@lists.sourceforge.net > Subject: Re: [dom4j-dev] Bringing dom4j up-to-date > > <notaflame> > >I would like to use events when operations occur on a node (I have a > >product that provides workflow based on retrofitting this > facility into > >DOM4J) > > Isn't this just an alternate DocumentFactory implementation? > Or is there something in the current object model preventing > you from doing this effectively?
This is an alternate DocumentFactory the uses much of the underlying infrastructure in Dom4j, but providees transactional services and event notification, and a rule model, however as the underlying implementation does not provide much event support, the implementation is overly sensitive to the implementation. If the implementation provided better event support the two issue could be managed cleanly, without depending on the quirks of the implementation > > > I would like the DocumentFactory to be an interface > > I seem to remember there being some good reason this couldn't > happen originally, but even if this isn't the case, I'd posit > you can't do this now because it'll break backwards compatibility. > </notaflame> I fully agree that this is incompatable, however - there are ways to preserve the compatability by introducing, for example a parent interface - any changes to any interface will provide compatability issues, some affecting users, and some affecting implementation ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ dom4j-dev mailing list dom4j-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-dev