From: José M. F. G. <jm...@us...> - 2012-02-02 12:34:29
|
Hi Wolf, thanks for the links. I agree with you, I think I need to implement an EXistStorage class inheriting from Storage. José María On 31/01/12 18:44, Wolfgang Meier wrote: > Hi José, > >> I can take a look in that in my spare time, but I need some initial >> clues about what to look and change as I don't know the packages subsystem. > > If you look at org.exist.xquery.modules.expathrepo.InstallFunction (in > EXIST_HOME/extensions/modules/src), you should get the connection to > most of the used classes. Within a query, the eXist repository is > available through XQueryContext.getRepository(). Right now a > FileSystemStorage is used and I guess we would need to replace that > with our own implementation. FileSystemStorage is implemented within > the expath-pkg code: > > http://expath-pkg.googlecode.com/svn/trunk > > I hope this helps. > > Wolfgang -- "La violencia es el último recurso del incompetente" - Salvor Hardin en "La Fundación" de Isaac Asimov "A friend should be a master at guessing and keeping still: you must not want to see everything" - Friedrich Nietzche "Apártate progresivamente, sin rupturas violentas, del amigo para quien representas un medio en vez de ser un fin" - Santiago Ramón y Cajal "If you ever start taking things too seriously, just remember that we are talking monkeys on an organic spaceship flying through the universe" - Joe Rogan "Premature optimization is the root of all evil." - Donald Knuth José María Fernández González e-mail: jos...@gm... |