Open GoogleCodeExporter opened 9 years ago
How are you customizing the configuration loader? Release 2.1.0 has a builder
API that might be easier than creating your own configuration language.
Thanks,
Kevin
Original comment by kevin.s...@gmail.com
on 9 May 2013 at 5:08
Not an issue with the builder api/etc, but not being able to inject items such
as a custom XMLEntityResolver, or the ConfigurationLoader on StreamCompiler,
etc. Being able to inject or load these components would allow custom
extensions (say have the mappings backed to something other than a file).
Original comment by james.a....@gmail.com
on 9 May 2013 at 7:45
You can load an XML mapping configuration yourself from wherever and pass an
InputStream to the StreamFactory. Or if not using XML, the builder API could
be used to create your own configuration language.
The only purpose I could see of configuring your own XMLEntityResolver is too
extend BeanIO's mapping file schema which would also require you to extend or
create your own ParserFactory, etc. For now, these are internal implementation
classes only. Their API is not guaranteed, and therefore not suitable for
custom extensions or plugins at this time. Sorry.
Thanks,
Kevin
Original comment by kevin.s...@gmail.com
on 9 May 2013 at 8:11
Original issue reported on code.google.com by
james.a....@gmail.com
on 9 May 2013 at 1:50