You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by jeremi joslin <je...@gmail.com> on 2006/04/19 13:11:35 UTC

[WebDav] change IOmanager to read IOHandlers in the config.xml

Hi,
For my project, I need to export datas from the repository in
different formats (for example convert to pdf, doc, odt...). I know,
It's not a standart function of the WebDav but I need it.

For the moment, the IOhandlers are loaded by the IOmanager and the
IOmanager is loaded from the configuration file. Is it possible to
change the default IOmanager to read the configuration file for
loading the IOhandlers instead of in hard in the code?

thanks,
Jérémi

--
Blog: http://www.jeremi.info
LinkedIn: https://www.linkedin.com/profile?viewProfile=&key=1437724
Project Manager XWiki: http://www.xwiki.org
skype: jeremi23 -- msn et gtalk : jeremi23@gmail.com

Re: [WebDav] change IOmanager to read IOHandlers in the config.xml

Posted by Angela Schreiber <an...@day.com>.
hi jérémi

jeremi joslin wrote:
> For the moment, the IOhandlers are loaded by the IOmanager and the
> IOmanager is loaded from the configuration file. Is it possible to
> change the default IOmanager to read the configuration file for
> loading the IOhandlers instead of in hard in the code?

the reason for not having this so far was, that i would
rather not want a huge, complex config such as the one
we had before with the command-chains. second i have the
feeling that most of the time the io-handlers will need
to be in specific order and its not sensible to combine
all kind of handlers. however these logic is obvious only
from the code (or the javadoc) and it may not be possible
to make this clear to the user that modifies the config.
but maybe this is overcareful ;)

bref: it shouldn't be a problem to do so and we could extend
the io-manager config section in order to allow for defining
the handlers. feel free to provide a proposal.

kind regards
angela