You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Jeremy Boynes <jb...@apache.org> on 2006/04/06 17:49:29 UTC
[help wanted] System service for XMLInputFactory
There are several places in the core runtime where components need to
create XMLStreamReader's in order to read XML documents. Currently they
are doing it by instantiating an XMLInputFactory using its newInstance()
default factory.
It would be better if these components could have the XMLInputFactory
injected as a configuration property. To do that, we need to have a
system service that offers a XMLInputFactory service so that they can
wire to it.
A big advantage we get from this is that we can configure the service
once (including things like which implementation to use and any
properties that implementation wants set) and have all client components
pick up that configured instance.
I'll open an "improvement" JIRA for this once JIRA comes back but if
someone would like to help out I would appreciate it.
--
Jeremy